Skip to content

Commit

Permalink
[GitHub Actions] change directory for behave test
Browse files Browse the repository at this point in the history
  • Loading branch information
minchinweb committed May 18, 2021
1 parent ffe4a5f commit 1595d5e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/testing_external_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,13 @@ jobs:
python -m pip install .
python -m pip install ./tests/external_plugins_src/
python -m pip install pytest behave
cd features
# installed test plugins aren't recognized by "behave" if run from the
# project's root folder

- name: Test with pytest
if: success() || failure()
run: pytest --junitxml=../reports/pytest/results.xml
run: pytest --junitxml=reports/pytest/results.xml

- name: Test with behave
if: success() || failure()
run: behave --no-skipped --format progress2 --junit --junit-directory ../reports/behave
run: cd features && behave --no-skipped --format progress2 --junit --junit-directory ../reports/behave

0 comments on commit 1595d5e

Please sign in to comment.