Skip to content

Commit 150b86d

Browse files
committed
ci: run tests on Windows
Run the tests for the code checking error messages that may be platform specific, see #82. Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
1 parent 94b95e4 commit 150b86d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/ci.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
name: CI
22
on: [push]
3+
4+
env:
5+
ZINNIA_VERSION: v0.20.2
36
jobs:
47
build:
58
runs-on: ubuntu-latest
69
steps:
710
- uses: actions/checkout@v4
8-
- run: curl -L https://github.com/filecoin-station/zinnia/releases/download/v0.19.1/zinnia-linux-x64.tar.gz | tar -xz
11+
- run: curl -L https://github.com/filecoin-station/zinnia/releases/download/${{ env.ZINNIA_VERSION }}/zinnia-linux-x64.tar.gz | tar -xz
912
- uses: actions/setup-node@v4
1013
- run: npx standard
1114
- run: ./zinnia run test.js
15+
16+
test-windows:
17+
runs-on: windows-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: robinraju/release-downloader@v1.11
21+
with:
22+
repository: 'filecoin-station/zinnia'
23+
tag: ${{ env.ZINNIA_VERSION }}
24+
fileName: zinnia-windows-x64.zip
25+
extract: true
26+
token: ${{ secrets.GITHUB_TOKEN }}
27+
- run: ./zinnia.exe run test.js

0 commit comments

Comments
 (0)