Skip to content

Commit

Permalink
Update python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrod authored Oct 4, 2024
1 parent 3ada2c0 commit 0e656be
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@ jobs:
- name: Install dependencies
run: |
pdm install -dG test
#- name: Run Tests
# if: matrix.python-version != '3.12' || matrix.os != 'ubuntu-latest'
# run: |
# pdm run pytest
#- if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
- name: Run Tests
run: |
pdm run pytest
coverage:
needs: ci
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
# See: https://remarkablemark.org/blog/2023/10/14/setup-codeclimate-with-github-actions/
- uses: remarkablemark/setup-codeclimate@v2
- name: Run Tests and report to CodeClimate
Expand All @@ -47,7 +52,6 @@ jobs:
# See: https://martinheinz.dev/blog/69 "Ultimate CI Pipeline for All of Your Python Projects"
- name: Use Codecov to track coverage
uses: codecov/codecov-action@v4
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml # coverage report
Expand Down

0 comments on commit 0e656be

Please sign in to comment.