update CI #33
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Nim ${{ matrix.nim }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
nim: [1.0.10, 1.2.12, 1.4.8, 1.6.18, 2.0.0] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: | | |
docker pull nimlang/nim:${{ matrix.nim }} | |
docker run --rm -v `pwd`:/usr/src/app -w /usr/src/app nimlang/nim:${{ matrix.nim }} /bin/bash -c "nimble install -y; nimble test" |