Fix #95 #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dev Branch Tests | |
on: | |
push: | |
branches: [ dev ] | |
pull_request: | |
branches: [ master, dev ] | |
jobs: | |
# --------------------------------------------------------------------------- | |
test-all: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false # <- Core value-add. See what platforms fail and why | |
matrix: | |
# os: [windows-latest, macos-latest, ubuntu-latest] | |
# python-version: ['3.10', 3.9, 3.8, 3.7] | |
# nim-version: [ '1.4.0', 'stable', 'devel' ] | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
python-version: ['3.11'] | |
nim-version: ['1.6.x'] | |
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: ${{ matrix.nim-version }} | |
- 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 |