Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use interactive bash session also when calling pytest
Browse files Browse the repository at this point in the history
Otherwise the environment does not source the setup.sh script of Ignition
diegoferigo committed Mar 26, 2021

Verified

This commit was signed with the committer’s verified signature. The key has expired.
diegoferigo Diego Ferigo
1 parent 5d34b37 commit 2771aaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -193,11 +193,13 @@ jobs:
# ============

- name: '[ScenarI/O] Python Tests'
shell: bash -i -e {0}
run: |
cd tests
pytest -m "scenario"
- name: '[ScenarI/O] Python Tests with Valgrind'
shell: bash -i -e {0}
if: failure()
run: |
apt-get install -y --no-install-recommends valgrind
@@ -206,11 +208,13 @@ jobs:
valgrind --log-file=/tmp/valgrind.log pytest -s -m "scenario" || colour-valgrind -t /tmp/valgrind.log
- name: '[gym_ignition] Python Tests'
shell: bash -i -e {0}
run: |
cd tests
pytest -m "gym_ignition"
- name: '[gym_ignition] Python Tests with Valgrind'
shell: bash -i -e {0}
if: failure()
run: |
pip3 install colour-valgrind

0 comments on commit 2771aaa

Please sign in to comment.