Run tests on multiple Nim versions

This commit is contained in:
Zed 2023-10-31 23:46:24 +00:00
parent b8103cf501
commit 60a82563da

View file

@ -11,6 +11,12 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
nim:
- "1.6.10"
- "1.6.x"
- "2.0.x"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -28,7 +34,8 @@ jobs:
cache: "pip" cache: "pip"
- uses: jiro4989/setup-nim-action@v1 - uses: jiro4989/setup-nim-action@v1
with: with:
nim-version: "1.x" nim-version: ${{ matrix.nim }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble build -d:release -Y - run: nimble build -d:release -Y
- run: pip install seleniumbase - run: pip install seleniumbase
- run: seleniumbase install chromedriver - run: seleniumbase install chromedriver