Skip to content

Commit 49e1dc6

Browse files
committed
Enable cross-PR testing
1 parent d82d736 commit 49e1dc6

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/pull_request.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,19 @@ jobs:
88
tests:
99
name: Test
1010
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11-
soundness:
12-
name: Soundness
13-
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
1411
with:
15-
license_header_check_enabled: false
16-
license_header_check_project_name: "Swift.org"
12+
enable_windows_checks: false
13+
linux_pre_build_command: |
14+
git clone https://github.com/swiftlang/swift-syntax.git ../swift-syntax
15+
git -C ../swift-syntax fetch origin pull/2859/merge:pr_merge
16+
git -C ../swift-syntax checkout main
17+
git -C ../swift-syntax reset --hard pr_merge
18+
git -C ../swift-syntax show
19+
git -C ../swift-syntax show main
20+
swift package config set-mirror --original https://github.com/swiftlang/swift-syntax.git --mirror "$(realpath ../swift-syntax)"
21+
# soundness:
22+
# name: Soundness
23+
# uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
24+
# with:
25+
# license_header_check_enabled: false
26+
# license_header_check_project_name: "Swift.org"

0 commit comments

Comments
 (0)