Skip to content

Commit 7fc15d3

Browse files
committed
Update the test following the flag of codecov
1 parent 0004d56 commit 7fc15d3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,6 @@ jobs:
118118
fail_ci_if_error: true
119119
gcov_ignore: "skada/datasets"
120120
env_vars: OS,PYTHON
121+
flags: code
121122
env:
122123
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/testing_dataset.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on: # yamllint disable-line rule:truthy
1212

1313
jobs:
1414
Dataset:
15-
if: contains(github.event.pull_request.title, '[dataset]') || github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
15+
if: contains(github.event.pull_request.title, '[dataset]') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
fail-fast: false
@@ -39,16 +39,16 @@ jobs:
3939
- name: Install 'skada' package
4040
run: |
4141
python -m pip install --upgrade --progress-bar off pip
42-
python -m pip install -e .[deep,test]
4342
# Run Tests
4443
- name: Run Tests without torch
45-
run: pytest skada --verbose --cov=skada --cov-report term
44+
run: pytest skada/dataset --verbose --cov=skada_dataset --cov-report term
4645
# Codecov
4746
- name: Upload coverage reports to Codecov
4847
uses: codecov/codecov-action@v5
4948
with:
5049
verbose: true
5150
fail_ci_if_error: true
5251
env_vars: OS,PYTHON
52+
flags: dataset, code
5353
env:
5454
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)