From b0796d1a3ca373b33e22c0be5ab15a3c35f3a0af Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 11 Dec 2021 14:10:51 -0800 Subject: [PATCH] Fix invalid conditional, push 3.11 check down to actual tests like we did with 3.10 --- .github/workflows/testing.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index f77b407a..80bdd5d9 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -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