mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 20:18:32 +02:00
[GitHub Actions] set shell to poetry
This commit is contained in:
parent
a3e7c7ff53
commit
d5d3d43fd3
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install pip --upgrade
|
||||
pip install poetry
|
||||
poetry config --local virtualenvs.in-project true
|
||||
poetry install --remove-untracked
|
||||
|
@ -59,7 +60,9 @@ jobs:
|
|||
- name: Test with pytest
|
||||
if: success() || failure()
|
||||
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
||||
shell: poetry shell {0}
|
||||
|
||||
- name: Test with behave
|
||||
if: success() || failure()
|
||||
run: poetry run behave --no-skipped --format progress2 --junit --junit-directory reports/behave
|
||||
shell: poetry shell {0}
|
||||
|
|
Loading…
Add table
Reference in a new issue