Skip to content

Commit

Permalink
puts module init in pytest step
Browse files Browse the repository at this point in the history
  • Loading branch information
David Erb committed Jan 30, 2023
1 parent 6417432 commit faa9996
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,17 @@ jobs:
requirements_file: requirements-test-${{ matrix.os }}-${{ matrix.python }}.txt
install_options: ${{ matrix.install }}

- name: Install Environment Module support
- name: List dependency tree
run: pipdeptree

- name: Run tests
run: |
sudo apt install environment-modules
echo "MODULESHOME was" $MODULESHOME
export MODULESHOME=/usr/share/modules
echo "MODULESHOME is" $MODULESHOME
source $MODULESHOME/init/bash
module list
- name: List dependency tree
run: pipdeptree

- name: Run tests
run: |
echo $MODULESHOME
module list
pytest
- name: Upload coverage to Codecov
Expand Down

0 comments on commit faa9996

Please sign in to comment.