Skip to content

Commit b64a39a

Browse files
Update tests workflow to bring into line with general
1 parent c847e01 commit b64a39a

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
defaults:
4242
run:
4343
shell: bash
44+
4445
steps:
4546
- name: Cancel Previous Runs
4647
uses: styfle/cancel-workflow-action@0.13.0
@@ -89,18 +90,23 @@ jobs:
8990
run: uv sync --locked --group test --no-default-groups
9091

9192
- name: Build module
92-
run: uv run --no-default-groups python setup.py build_ext --inplace
93+
run: uv run --locked --no-default-groups python setup.py build_ext --inplace
9394

9495
- name: Fix windows gsl dlls
9596
if: matrix.os == 'windows-latest'
9697
run: cp /c/vcpkg/installed/x64-windows/bin/gsl*.dll msprime/
9798

9899
- name: Run tests
99-
run: uv run --no-default-groups pytest --cov=msprime --cov-report=xml --cov-branch -n2
100+
run: |
101+
uv run --locked --no-default-groups pytest --cov=msprime \
102+
--cov-report=xml --cov-branch -n2
100103
101104
- name: Upload coverage to Codecov
102-
uses: codecov/codecov-action@v5.4.0
105+
uses: codecov/codecov-action@v5.5.2
103106
with:
104107
token: ${{ secrets.CODECOV_TOKEN }}
105-
flags: python
106-
fail_ci_if_error: true
108+
fail_ci_if_error: false
109+
flags: python-tests
110+
files: coverage.xml
111+
disable_search: true
112+
verbose: true

0 commit comments

Comments
 (0)