Skip to content

Bump pytest from 8.2.2 to 8.3.2 #131

Bump pytest from 8.2.2 to 8.3.2

Bump pytest from 8.2.2 to 8.3.2 #131

name: Unit tests
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install pip
pip install -e .
- name: Test with pytest
working-directory: tests
run: |
sudo apt-get update
sudo apt-get install libopenblas-dev # scipy
pip install -r requirements.txt
pytest .