Skip to content

Commit

Permalink
Update check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Snoopy1866 committed Sep 23, 2024
1 parent d6cb63c commit 6c25af7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -40,10 +37,13 @@ jobs:
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
env_vars: OS, PYTHON
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Post Coverage
uses: codecov/codecov-action@v4
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'

report:
needs: check
runs-on: ubuntu-latest
Expand All @@ -52,6 +52,6 @@ jobs:
uses: actions/checkout@v4
- name: Report Results
run: |
if [[ "${{ needs.check.result }}" == "failure" ]]; then
if [[ '${{ needs.check.result }}' == 'failure' ]]; then
exit 1
fi

0 comments on commit 6c25af7

Please sign in to comment.