mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-19 04:28:31 +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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
python -m pip install pip --upgrade
|
||||||
pip install poetry
|
pip install poetry
|
||||||
poetry config --local virtualenvs.in-project true
|
poetry config --local virtualenvs.in-project true
|
||||||
poetry install --remove-untracked
|
poetry install --remove-untracked
|
||||||
|
@ -59,7 +60,9 @@ jobs:
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
||||||
|
shell: poetry shell {0}
|
||||||
|
|
||||||
- name: Test with behave
|
- name: Test with behave
|
||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
run: poetry run behave --no-skipped --format progress2 --junit --junit-directory reports/behave
|
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