Skip to content

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 #91

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 #91

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"]
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
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 env update --file environment.yml --name test-env
- name: Test with pytest
working-directory: tests
run: |
conda install pip
pip install -r requirements.txt
pip install -e ..
pytest .