Skip to content

Add reference data for FAIRMODE tests #180

Add reference data for FAIRMODE tests

Add reference data for FAIRMODE tests #180

Workflow file for this run

name: CI
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.11'
- 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.yaml
- name: Test with pytest
run: |
conda run -n providentia-env_v3.0.0 coverage run -m pytest tests
conda run -n providentia-env_v3.0.0 coverage report -i -m
conda run -n providentia-env_v3.0.0 coverage xml -o coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
flags: pytest
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}