update test workflow #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
paths-ignore: | |
- LICENSE | |
- README.* | |
pull_request: | |
paths-ignore: | |
- LICENSE | |
- README.* | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
nim-version: | |
- 'stable' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: ${{ matrix.nim-version }} | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: "npm install node-gyp -g" | |
- run: "npm install cmake-js -g" | |
- run: "choosenim show path -y" | |
- run: nimble install -Y | |
- run: nimble test |