Skip to content

Commit

Permalink
ci: run tests on Windows (#83)
Browse files Browse the repository at this point in the history
Run the tests for the code checking error messages that may be platform
specific, see #82.

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos authored Jul 9, 2024
1 parent 4837e18 commit 410ce4c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
name: CI
on: [push]

env:
ZINNIA_VERSION: v0.20.2
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl -L https://github.com/filecoin-station/zinnia/releases/download/v0.20.2/zinnia-linux-x64.tar.gz | tar -xz
- run: curl -L https://github.com/filecoin-station/zinnia/releases/download/${{ env.ZINNIA_VERSION }}/zinnia-linux-x64.tar.gz | tar -xz
- uses: actions/setup-node@v4
- run: npx standard
- run: ./zinnia run test.js

test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: robinraju/[email protected]
with:
repository: 'filecoin-station/zinnia'
tag: ${{ env.ZINNIA_VERSION }}
fileName: zinnia-windows-x64.zip
extract: true
token: ${{ secrets.GITHUB_TOKEN }}
- run: ./zinnia.exe run test.js

0 comments on commit 410ce4c

Please sign in to comment.