Skip to content

update

update #8

Workflow file for this run

---
name: test
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: # allow manual triggering
jobs:
test:
runs-on: ubuntu-latest
name: Build and test
strategy:
matrix:
python-version: ["3.8", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: |
pip install -U pip setuptools wheel
pip install -r requirements.txt
- name: Test with pytest
run: |
python -m pytest tests/test_jones.py
python -m pytest tests/test_stokes.py