Skip to content

Commit 25a0dfa

Browse files
committed
Add tests for zsh and fish
1 parent d297b48 commit 25a0dfa

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,46 @@ jobs:
8686
- name: Extract and Run Workflow Tests
8787
run: cp swiftly-*.tar.gz /root/swiftly.tar.gz && cp test-swiftly-*.tar.gz /root && cd /root && tar zxf test-swiftly-*.tar.gz && ./test-swiftly -y ./swiftly.tar.gz
8888

89+
releasetestzsh:
90+
name: Test Release ZSH
91+
needs: releasebuildcheck
92+
runs-on: ubuntu-latest
93+
container:
94+
image: "ubuntu:24.04"
95+
steps:
96+
- name: Prepare System
97+
run: apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install ca-certificates gpg tzdata zsh && chsh -s /bin/zsh
98+
- name: Download Release
99+
uses: actions/download-artifact@v4
100+
with:
101+
name: swiftly-release-x86_64
102+
- name: Download Tests
103+
uses: actions/download-artifact@v4
104+
with:
105+
name: swiftly-tests-x86_64
106+
- name: Extract and Run Workflow Tests
107+
run: cp swiftly-*.tar.gz /root/swiftly.tar.gz && cp test-swiftly-*.tar.gz /root && cd /root && tar zxf test-swiftly-*.tar.gz && ./test-swiftly -y ./swiftly.tar.gz
108+
109+
releasetestfish:
110+
name: Test Release FISH
111+
needs: releasebuildcheck
112+
runs-on: ubuntu-latest
113+
container:
114+
image: "ubuntu:24.04"
115+
steps:
116+
- name: Prepare System
117+
run: apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install ca-certificates gpg tzdata fish && chsh -s /bin/fish
118+
- name: Download Release
119+
uses: actions/download-artifact@v4
120+
with:
121+
name: swiftly-release-x86_64
122+
- name: Download Tests
123+
uses: actions/download-artifact@v4
124+
with:
125+
name: swiftly-tests-x86_64
126+
- name: Extract and Run Workflow Tests
127+
run: cp swiftly-*.tar.gz /root/swiftly.tar.gz && cp test-swiftly-*.tar.gz /root && cd /root && tar zxf test-swiftly-*.tar.gz && ./test-swiftly -y ./swiftly.tar.gz
128+
89129
formatcheck:
90130
name: Format Check
91131
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)