Skip to content

Commit 28cf0fb

Browse files
committed
merge coverages
1 parent 4df9b3e commit 28cf0fb

3 files changed

Lines changed: 6 additions & 26 deletions

File tree

.github/workflows/coverage.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- name: Install dependencies
2626
run: pdm install --no-lock
2727
- name: Run tests
28-
run: pdm test
28+
run: pdm coverage
29+
- name: Upload coverage to Codecov
30+
uses: codecov/codecov-action@v3
2931
Test20:
3032
name: Test SA 2.0
3133
runs-on: ubuntu-latest
@@ -44,3 +46,5 @@ jobs:
4446
run: pip install nox
4547
- name: Run tests
4648
run: pdm test_20
49+
- name: Upload coverage to Codecov
50+
uses: codecov/codecov-action@v3

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ def tests(session: nox.Session):
1515
def tests_20(session: nox.Session):
1616
session.run_always("pdm", "install", "--no-lock", external=True)
1717
session.install("sqlalchemy>2.0")
18-
session.run("pytest")
18+
session.run("pdm", "coverage")
1919
session.install("sqlalchemy<2.0")

0 commit comments

Comments
 (0)