Skip to content

Merge pull request #12 from uofgravity/fix-splines-amp #22

Merge pull request #12 from uofgravity/fix-splines-amp

Merge pull request #12 from uofgravity/fix-splines-amp #22

Workflow file for this run

name: Unit tests
on:
push:
branches: [ glasflow ]
pull_request:
branches: [ glasflow ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unittests:
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [macOS, Ubuntu, Windows]
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Test with pytest
run: |
python -m pytest