Skip to content

Commit

Permalink
revert to old coverage ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocerrone committed Aug 28, 2024
1 parent 5ecefd3 commit a031b00
Showing 1 changed file with 3 additions and 34 deletions.
37 changes: 3 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10"] #, "3.11", "3.12"]
platform: [ubuntu-latest] #, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -76,42 +76,11 @@ jobs:
with:
filename: .github/TEST_FAIL_TEMPLATE.md
update_existing: true

coverage:
name: Coverage
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: python -m pip install --upgrade coverage[toml]

- name: Download data
uses: actions/download-artifact@v3
with:
name: coverage-data

- name: Coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Add coverage comment to Pull Requests
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# MERGE_COVERAGE_FILES: true
# MINIMUM_GREEN: 90
# MINIMUM_ORANGE: 60
# ANNOTATE_MISSING_LINES: true
# ANNOTATION_TYPE: notice

deploy:
name: Deploy
needs: test
Expand Down

0 comments on commit a031b00

Please sign in to comment.