Skip to content

Commit 22f701d

Browse files
committed
Test swift-syntax using GitHub Actions during PR testing and during the publish release workflow
1 parent 77874c1 commit 22f701d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/publish_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ jobs:
3737
release: [true, false]
3838
with:
3939
# We require that releases of swift-syntax build without warnings
40+
enable_macos_checks: true
4041
linux_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' || '' }}
4142
windows_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' || '' }}
43+
macos_build_command: swift test -Xswiftc -warnings-as-errors ${{ matrix.release && '-c release' || '' }}
4244
create_tag:
4345
name: Create Tag
4446
runs-on: ubuntu-latest

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
# As a workaround, we mark automerge PRs that are created by GitHub actions as draft and trigger the GitHub actions by marking the PR as ready for review. But we don't want to re-trigger testing this when a normal user's PR is marked as ready for review.
1616
if: (github.event.action != 'ready_for_review') || (github.event.action == 'ready_for_review' && github.event.pull_request.user.login == 'github-actions[bot]')
1717
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
18+
with:
19+
enable_macos_checks: true
1820
soundness:
1921
name: Soundness
2022
if: (github.event.action != 'ready_for_review') || (github.event.action == 'ready_for_review' && github.event.pull_request.user.login == 'github-actions[bot]')

0 commit comments

Comments
 (0)