Skip to content

Commit df61f14

Browse files
committed
feat(workflows): call the shared test workflow for the main coverage baseline
1 parent bcaf4b8 commit df61f14

1 file changed

Lines changed: 9 additions & 32 deletions

File tree

‎.github/workflows/coveralls-main.yaml‎

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,16 @@ concurrency:
1616
jobs:
1717
coveralls:
1818
name: Build main coverage baseline
19-
runs-on: ubuntu-26.04
20-
timeout-minutes: 30
21-
19+
uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@461a1d682d4ec6cb47a6083ec6b0daf3434c935d # 0.2.0
2220
permissions:
2321
contents: read
2422
checks: write
2523
statuses: write
26-
27-
steps:
28-
- name: Checkout
29-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
30-
31-
- name: Set up Python 3.14
32-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
33-
with:
34-
python-version: "3.15"
35-
36-
- name: Install testing dependencies
37-
run: |
38-
python -m pip install --upgrade pip
39-
python -m pip install -e .[testing]
40-
41-
- name: Run coverage
42-
run: |
43-
python -m pytest tests/unit \
44-
--cov CodeEntropy \
45-
--cov-report term-missing \
46-
--cov-report xml \
47-
-q
48-
49-
- name: Upload coverage to Coveralls
50-
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e
51-
with:
52-
github-token: ${{ secrets.GITHUB_TOKEN }}
53-
file: coverage.xml
54-
fail-on-error: false
24+
pull-requests: write
25+
with:
26+
package: CodeEntropy
27+
test-path: tests/unit
28+
os: '["ubuntu-26.04"]'
29+
python-versions: '["3.15"]'
30+
coverage-python-version: "3.15"
31+
timeout-minutes: 30

0 commit comments

Comments
 (0)