Skip to content

Merge pull request #7 from TAJD/tests #1

Merge pull request #7 from TAJD/tests

Merge pull request #7 from TAJD/tests #1

Workflow file for this run

name: Run tests
on: [push]
jobs:
example-1:
name: Testing (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
steps:
- name: Configure conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Check repo out
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Install dependencies
run: |
$CONDA/bin/conda env update --file environment.yml --name base
- name: Test with pytest
shell: bash -l {0}
run: |
$CONDA/bin/pytest --verbose