Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mbackenkoehler authored Jan 29, 2024
1 parent be875bc commit 2030f0d
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,8 @@ jobs:
shell: bash -el {0}
run: |
mamba env create -f environment.yml -n ${{ matrix.directory }}
working-directory: teachopencadd/talktorials/${{ matrix.directory }}

- name: Activate Conda environment
shell: bash -el {0}
run: |
source activate $(basename ${{ matrix.directory }})
- name: Install pytest
shell: bash -el {0}
run: mamba install pytest pytest-xdist pytest-cov nbval shyaml -c conda-forge -y

- name: Run tests
shell: bash -l {0}
run: |
conda activate $(basename ${{ matrix.directory }})
mamba install pytest pytest-xdist pytest-cov nbval shyaml -c conda-forge -y
conda info
PYTEST_ARGS="--nbval-lax --nbval-current-env --dist loadscope"
pytest $PYTEST_ARGS .
Expand Down

0 comments on commit 2030f0d

Please sign in to comment.