run tests in continuous integration

This commit is contained in:
Mark Spanbroek 2024-11-21 15:19:55 +01:00
parent 54edc32b41
commit 65938fa385

19
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
nim: [stable, 2.2.0]
steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v3
with:
version: ${{ matrix.nim }}
- name: Build
run: nimble install -y
- name: Test
run: nimble test -y