Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplants authored Oct 4, 2024
1 parent 84195c6 commit c35d5e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- macos-latest
python-version:
- '3.12'
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

steps:
- name: Checkout Repository
Expand All @@ -34,10 +36,8 @@ jobs:
if: ${{ runner.os != 'Linux' }}
run: poetry run task test
- name: Test & publish code coverage
if: ${{ runner.os == 'Linux' && secrets.CC_TEST_REPORTER_ID != '' }}
if: ${{ runner.os == 'Linux' && env.CC_TEST_REPORTER_ID != '' }}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: poetry run task test:ci
coverageLocations: ${{github.workspace}}/cov.xml:coverage.py
Expand Down

0 comments on commit c35d5e0

Please sign in to comment.