mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 20:18:32 +02:00
[GitHub Actions] move downstream (rather than up) to run tests
This commit is contained in:
parent
5de162e838
commit
a3e7c7ff53
1 changed files with 4 additions and 6 deletions
10
.github/workflows/testing_external_plugins.yaml
vendored
10
.github/workflows/testing_external_plugins.yaml
vendored
|
@ -52,16 +52,14 @@ jobs:
|
|||
poetry install --remove-untracked
|
||||
poetry install
|
||||
poetry run python -m pip install ./tests/external_plugins_src/
|
||||
poetry shell
|
||||
cd ..
|
||||
cd features
|
||||
# installed test plugins aren't recognized by "behave" if run from the
|
||||
# project's root folder, but "poetry run" doesn't work on folders upstream
|
||||
# from project root
|
||||
# project's root folder
|
||||
|
||||
- name: Test with pytest
|
||||
if: success() || failure()
|
||||
run: pytest --junitxml=reports/pytest/results.xml
|
||||
run: poetry 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 jrnl/features
|
||||
run: poetry run behave --no-skipped --format progress2 --junit --junit-directory reports/behave
|
||||
|
|
Loading…
Add table
Reference in a new issue