Skip to content

Enable cross-PR testing #122

Enable cross-PR testing

Enable cross-PR testing #122

Workflow file for this run

name: Pull request
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
name: Test
uses: ahoppen/github-workflows/.github/workflows/swift_package_test.yml@windows-error-propagation
with:
linux_pre_build_command: |
cd cross-pr-checkout/Sources/cross-pr-checkout
swift main.swift "${{ github.repository }}" "${{ github.event.number }}"
windows_pre_build_command: |
mkdir $env:TEMP\cross-pr-checkout
cp cross-pr-checkout\Sources\cross-pr-checkout\main.swift $env:TEMP\cross-pr-checkout
swiftc -sdk $env:SDKROOT $env:TEMP\cross-pr-checkout\main.swift -o $env:TEMP\cross-pr-checkout\main.exe
& $env:TEMP\cross-pr-checkout\main.exe "${{ github.repository }}" "${{ github.event.number }}"
# soundness:
# name: Soundness
# uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
# with:
# license_header_check_enabled: false
# license_header_check_project_name: "Swift.org"