Skip to content

Commit

Permalink
fix pytest action
Browse files Browse the repository at this point in the history
  • Loading branch information
redur committed Apr 4, 2024
1 parent 2d060c3 commit aa232fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: 3.10.14
- name: Install dependencies
- name: Install miniconda
run: |
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3.sh -b -p "${HOME}/conda"
source "${HOME}/conda/etc/profile.d/conda.sh"
source "${HOME}/conda/etc/profile.d/mamba.sh"
- name: Install dev dependencies
run: |
conda env create -f environment-dev.yml
conda activate boreholes-dev
- name: Test with pytest
run: |
conda install pytest-cov
conda install pytest-cov -y
pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html

0 comments on commit aa232fd

Please sign in to comment.