Skip to content

Commit c1cdd20

Browse files
committed
Add release tests with zsh
1 parent 4960048 commit c1cdd20

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,26 @@ jobs:
7575
- name: Extract and Run Workflow Tests
7676
run: cp swiftly-*.tar.gz /root/swiftly.tar.gz && cp test-swiftly.tar.gz /root && cd /root && tar zxf test-swiftly.tar.gz && SWIFTLY_SYSTEM_MUTATING=1 ./swiftlyPackageTests.xctest SwiftlyTests.E2ETests/testAutomatedWorkflow
7777

78+
releasetestzsh:
79+
name: Test Release ZSH
80+
needs: releasebuildcheck
81+
runs-on: ubuntu-latest
82+
container:
83+
image: "ubuntu:24.04"
84+
steps:
85+
- name: Prepare System
86+
run: apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install ca-certificates gpg tzdata zsh && chsh -s /bin/zsh
87+
- name: Download Release
88+
uses: actions/download-artifact@v4
89+
with:
90+
name: swiftly-release-x86_64
91+
- name: Download Tests
92+
uses: actions/download-artifact@v4
93+
with:
94+
name: swiftly-tests-x86_64
95+
- name: Extract and Run Workflow Tests
96+
run: cp swiftly-*.tar.gz /root/swiftly.tar.gz && cp test-swiftly.tar.gz /root && cd /root && tar zxf test-swiftly.tar.gz && SWIFTLY_SYSTEM_MUTATING=1 ./swiftlyPackageTests.xctest SwiftlyTests.E2ETests/testAutomatedWorkflow
97+
7898
formatcheck:
7999
name: Format Check
80100
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main

0 commit comments

Comments
 (0)