Skip to content

Fix #95

Fix #95 #158

Workflow file for this run

name: Run All Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test-all:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
python-version: ['3.11']
# os: [windows-latest, macos-latest, ubuntu-latest]
# python-version: ['3.11', '3.10', 3.9, 3.8, 3.7]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: 'stable'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel
python -m pip install .
python -m pip install -r requirements_dev.txt
- name: Test
run: pytest --cov=. -s tests
env:
NIMPORTER_INSTRUMENT: 1