fix #16
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 Project | |
on: | |
- push | |
- pull_request | |
jobs: | |
before: | |
runs-on: ubuntu-latest | |
if: "! contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- run: echo "commit message doesn't contain '[skip ci]'" | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
nim-version: | |
- '2.0.0' | |
- 'devel' | |
needs: before | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: ${{ matrix.nim-version }} | |
- run: nimble install nimble --accept | |
- run: nimble install --depsOnly --accept | |
- run: nimble gen | |
- run: nimble test |