Skip to content

Commit

Permalink
Change CI coverage test flags to combine env info
Browse files Browse the repository at this point in the history
  • Loading branch information
Argmaster committed Nov 11, 2024
1 parent 1680cc8 commit a03b7ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: all,${{ matrix.os }},${{ matrix.python-version}}
flags: "all/${{ matrix.os }}/${{ matrix.python-version}}"
files: ./coverage.xml
verbose: true

Expand Down Expand Up @@ -107,18 +107,18 @@ jobs:
run: poetry run coverage xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit,${{ matrix.os }},${{ matrix.python-version}}
flags: "unit/${{ matrix.os }}/${{ matrix.python-version}}"
files: ./coverage.xml
verbose: true

e2e:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-24.04, windows-2022]
python-version: ["3.9", "3.10", "3.11", "3.12"]

name: E2E on ${{ matrix.os }} with Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -158,15 +158,15 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: e2e,${{ matrix.os }},${{ matrix.python-version}}
flags: "e2e/${{ matrix.os }}/${{ matrix.python-version}}"
files: ./coverage.xml
verbose: true

style:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
os: [ubuntu-24.04, windows-2022]
python-version: ["3.8", "3.13"]

name: Style on ${{ matrix.os }} with Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -199,8 +199,8 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
python-version: ["3.8"]
os: [ubuntu-24.04, windows-2022]
python-version: ["3.8", "3.13"]

name: No extras on ${{ matrix.os }} with Python ${{ matrix.python-version }}

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a03b7ca

Please sign in to comment.