Skip to content

Commit

Permalink
Merge commit 'fix-ci' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Jan 14, 2025
2 parents 5228d86 + 60b480e commit 42bb05b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:
- name: Lint with flake8
run: flake8 .
- name: Test with pytest and coverage
if: runner.os == 'ubuntu-latest'
run: pytest --cov=pCRscore -m "not slow"
- name: Upload coverage to Codecov
if: runner.os == 'ubuntu-latest'
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 3 additions & 0 deletions tests/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,12 @@ def test_fit_line():
fit_disc.loc[line, 'CI'].values[0], 0.0000193, rel_tol=1e-2
)


all_pat = pipeline.combine_discovery_validation(
disc_data_shap, valid_data_shap, fit_disc, fit_valid
)


def test_combine_discovery_validation():
assert 'Feature' in all_pat.columns
assert 'Fraction' in all_pat.columns
Expand Down

0 comments on commit 42bb05b

Please sign in to comment.