Skip to content

- small bugfix in testing definition #2

- small bugfix in testing definition

- small bugfix in testing definition #2

name: Run grid, graph, and CLI tests on every push on a platform matrix
on:
push:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update packages submodule
run: git submodule update --recursive --remote
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.0.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: nimble install -y arraymancer nimpy
- name: Compile nimplex
run: nim c -d:release nimplex.nim
- name: Run grid tests
run: nim c -r -d:release tests/grid.nim
- name: Run graph tests
run: nim c -r -d:release tests/graph.nim
- name: Run CLI tests
run: nim c -r -d:release tests/cli.nim