Skip to content

Merge pull request #224 from SMTG-Bham/alexsquires-patch-1 #129

Merge pull request #224 from SMTG-Bham/alexsquires-patch-1

Merge pull request #224 from SMTG-Bham/alexsquires-patch-1 #129

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy
python -m pip install -e '.[tests]'
- name: Test
run: pytest