Skip to content

- added BLAS installation to the runners as it appears to have been r… #59

- added BLAS installation to the runners as it appears to have been r…

- added BLAS installation to the runners as it appears to have been r… #59

name: Windows Tests
on:
push:
paths:
- 'tests/**'
- 'nimplex.nim'
- '.github/workflows/testingOnPush_Windows.yaml'
workflow_dispatch:
jobs:
test:
runs-on: windows-latest
strategy:
matrix:
nim:
- '2.0.x'
- 'stable'
name: Nim ${{ matrix.nim }} Test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: '3.11'
- name: Install Nim
run: conda install -c conda-forge libopenblas mkl
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ matrix.nim }}
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
- name: Run stitching tests
run: nim c -r -d:release tests/stitching.nim