mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 11:38:32 +02:00
Fix invalid conditional, push 3.11 check down to actual tests like we did with 3.10
This commit is contained in:
parent
41ba1c4d84
commit
b0796d1a3c
1 changed files with 6 additions and 3 deletions
9
.github/workflows/testing.yaml
vendored
9
.github/workflows/testing.yaml
vendored
|
@ -30,7 +30,6 @@ jobs:
|
|||
test:
|
||||
if: >
|
||||
! contains(github.event.head_commit.message, '[ci skip]')
|
||||
&& (matrix.python-version != '3.11-dev' || github.event_name == 'schedule')
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: ${{ matrix.python-version == '3.11-dev' }}
|
||||
strategy:
|
||||
|
@ -77,11 +76,15 @@ jobs:
|
|||
poetry run black --check --diff .
|
||||
|
||||
- name: Code Style (flake8)
|
||||
if: ${{ env.DEPS_INSTALLED == 'true' }}
|
||||
if: >
|
||||
${{ (matrix.python-version != '3.11-dev' || github.event_name == 'schedule')
|
||||
&& env.DEPS_INSTALLED == 'true' }}
|
||||
run: |
|
||||
poetry run pflake8 --version
|
||||
poetry run pflake8 jrnl tests
|
||||
|
||||
- name: Test with pytest
|
||||
if: ${{ env.DEPS_INSTALLED == 'true' }}
|
||||
if: >
|
||||
${{ (matrix.python-version != '3.11-dev' || github.event_name == 'schedule')
|
||||
&& env.DEPS_INSTALLED == 'true' }}
|
||||
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
||||
|
|
Loading…
Add table
Reference in a new issue