Skip to content

Commit c418487

Browse files
authored
Merge pull request #105 from DanCardin/dc/ci
fix: CI.
2 parents 9ca0714 + d512551 commit c418487

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

.github/workflows/test.yml

+9-15
Original file line numberDiff line numberDiff line change
@@ -68,27 +68,21 @@ jobs:
6868
run: make test
6969

7070
- name: Store test result artifacts
71-
uses: actions/upload-artifact@v3
71+
uses: actions/upload-artifact@v4
7272
with:
73-
path: coverage.xml
73+
path: ${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.postgres-drivername }}-coverage.xml
7474

75-
- name: Coveralls
76-
env:
77-
COVERALLS_FLAG_NAME: run-${{ inputs.working-directory }}
78-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79-
COVERALLS_PARALLEL: true
80-
run: |
81-
pip install tomli coveralls
82-
coveralls --service=github
75+
- uses: codecov/codecov-action@v4
76+
with:
77+
token: ${{ secrets.CODECOV_TOKEN }}
78+
name: ${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.postgres-drivername }}
79+
files: coverage.xml
8380

8481
finish:
8582
needs:
8683
- test
8784
runs-on: ubuntu-latest
8885
steps:
89-
- name: Coveralls Finished
90-
env:
91-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86+
- name: Join
9287
run: |
93-
pip install tomli coveralls
94-
coveralls --service=github --finish
88+
echo 'done'

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SQLAlchemy Declarative Extensions
22

33
[![Actions Status](https://github.com/dancardin/sqlalchemy-declarative-extensions/workflows/test/badge.svg)](https://github.com/dancardin/sqlalchemy-declarative-extensions/actions)
4-
[![Coverage Status](https://coveralls.io/repos/github/DanCardin/sqlalchemy-declarative-extensions/badge.svg?branch=main)](https://coveralls.io/github/DanCardin/sqlalchemy-declarative-extensions?branch=main)
4+
[![codecov](https://codecov.io/gh/DanCardin/sqlalchemy-declarative-extensions/graph/badge.svg?token=DyS4xtntRo)](https://codecov.io/gh/DanCardin/sqlalchemy-declarative-extensions)
55
[![Documentation Status](https://readthedocs.org/projects/sqlalchemy-declarative-extensions/badge/?version=latest)](https://sqlalchemy-declarative-extensions.readthedocs.io/en/latest/?badge=latest)
66

77
See the full documentation

0 commit comments

Comments
 (0)