Skip to content

Commit

Permalink
🧪🐛 Fix CI reusable workflow conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 4, 2024
1 parent 822c3e6 commit fac71fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
pip-version: >-
${{
fromJSON(
github.job_workflow_sha
inputs.cpython-pip-version
&& inputs.cpython-pip-version
|| '["latest", "previous"]'
)
}}
env:
TOXENV: >-
pip${{ matrix.pip-version }}${{
!github.job_workflow_sha
!inputs.cpython-pip-version
&& '-coverage'
|| ''
}}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
run: tox --skip-pkg-install
- name: Upload coverage to Codecov
if: >-
!github.job_workflow_sha
!inputs.cpython-pip-version
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
Expand Down

0 comments on commit fac71fc

Please sign in to comment.