8000 Use Codecov instead of coveralls. (#1113) · PyMySQL/PyMySQL@d02e090 · GitHub
[go: up one dir, main page]

Skip to content

Commit d02e090

Browse files
authored
Use Codecov instead of coveralls. (#1113)
1 parent 2fe0b12 commit d02e090

File tree

1 file changed

+3
-28
lines changed

1 file changed

+3
-28
lines changed

.github/workflows/test.yaml

+3-28
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- 3306:3306
4545
env:
4646
MYSQL_ALLOW_EMPTY_PASSWORD: yes
47+
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes
4748
options: "--name=mysqld"
4849
volumes:
4950
- /run/mysqld:/run/mysqld
@@ -96,32 +97,6 @@ jobs:
9697
docker cp mysqld:/var/lib/mysql/client-cert.pem "${HOME}"
9798
pytest -v --cov --cov-config .coveragerc tests/test_auth.py;
9899
99-
- name: Report coverage
100+
- name: Upload coverage reports to Codecov
100101
if: github.repository == 'PyMySQL/PyMySQL'
101-
run: coveralls --service=github
102-
env:
103-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104 DE41 -
COVERALLS_FLAG_NAME: ${{ matrix.py }}-${{ matrix.db }}
105-
COVERALLS_PARALLEL: true
106-
107-
coveralls:
108-
if: github.repository == 'PyMySQL/PyMySQL'
109-
name: Finish coveralls
110-
runs-on: ubuntu-latest
111-
needs: test
112-
steps:
113-
- name: requirements.
114-
run: |
115-
echo coveralls > requirements.txt
116-
117-
- uses: actions/setup-python@v4
118-
with:
119-
python-version: '3.x'
120-
cache: 'pip'
121-
122-
- name: Finished
123-
run: |
124-
pip install --upgrade coveralls
125-
coveralls --finish --service=github
126-
env:
127-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)
0