mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
add setuptools due to poetry bug, clean up other steps
This commit is contained in:
parent
6ecd1b81a1
commit
f04da32538
1 changed files with 5 additions and 4 deletions
9
.github/workflows/testing.yaml
vendored
9
.github/workflows/testing.yaml
vendored
|
@ -49,12 +49,13 @@ jobs:
|
|||
if: ${{ matrix.python-version != '3.10-dev' }}
|
||||
run: |
|
||||
echo '::group::poetry'
|
||||
pip install poetry
|
||||
# see https://github.com/python-poetry/poetry/issues/3153
|
||||
pip install poetry setuptools
|
||||
poetry config --local virtualenvs.in-project true
|
||||
echo '::endgroup::'
|
||||
|
||||
echo '::group::Other dependencies'
|
||||
poetry install --remove-untracked
|
||||
poetry install
|
||||
echo '::endgroup::'
|
||||
|
||||
echo 'DEPS_INSTALLED=true' >> $GITHUB_ENV
|
||||
|
@ -87,9 +88,9 @@ jobs:
|
|||
poetry run pflake8 jrnl features tests
|
||||
|
||||
- name: Test with pytest
|
||||
if: success() || failure()
|
||||
if: ${{ env.DEPS_INSTALLED == 'true' }}
|
||||
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
||||
|
||||
- name: Test with behave
|
||||
if: success() || failure()
|
||||
if: ${{ env.DEPS_INSTALLED == 'true' }}
|
||||
run: poetry run behave --no-skipped --format progress2 --junit --junit-directory reports/behave
|
||||
|
|
Loading…
Add table
Reference in a new issue