File tree 2 files changed +11
-22
lines changed
2 files changed +11
-22
lines changed Original file line number Diff line number Diff line change @@ -27,25 +27,14 @@ jobs:
27
27
- name : Install dependencies
28
28
run : |
29
29
python -m pip install --upgrade pip
30
- pip install --upgrade tox coveralls
30
+ pip install --upgrade tox
31
31
- name : Test with tox with coverage
32
- run : tox -- --cov -v
33
- - name : Upload coverage data to coveralls.io
34
- run : coveralls --service=github
35
- env :
36
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
- COVERALLS_FLAG_NAME : ${{ matrix.python-version }}
38
- COVERALLS_PARALLEL : true
39
-
40
- coveralls :
41
- name : Indicate completion to coveralls.io
42
- needs : build_and_test
43
- runs-on : ubuntu-20.04
44
- container : python:3-slim
45
- steps :
46
- - name : Finished
47
- run : |
48
- pip install --upgrade coveralls
49
- coveralls --service=github --finish
50
- env :
51
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ run : tox -- --cov --cov-report=xml -v
33
+ - name : Upload coverage to Codecov
34
+ uses : codecov/codecov-action@v1
35
+ with :
36
+ token : ${{ secrets.CODECOV_TOKEN }}
37
+ files : ./coverage.xml
38
+ flags : py${{ matrix.python-version }}
39
+ fail_ci_if_error : true
40
+ verbose : true
Original file line number Diff line number Diff line change 1
1
# imaplib2: a threaded Python IMAP4 client
2
2
3
3
[ ![ Jazzband] ( https://jazzband.co/static/img/badge.svg )] ( https://jazzband.co/ )
4
- [ ![ Coverage Status ] ( https://coveralls .io/repos/github/ jazzband/imaplib2/badge.svg?branch=master )] ( https://coveralls .io/github /jazzband/imaplib2?branch=master )
4
+ [ ![ codecov ] ( https://codecov .io/gh/ jazzband/imaplib2/branch/master/graph/ badge.svg?token=DZZ3P6438E )] ( https://codecov .io/gh /jazzband/imaplib2 )
5
5
6
6
Based on RFC 3501 and original imaplib module.
7
7
You can’t perform that action at this time.
0 commit comments