Try coveralls --service=github

This commit is contained in:
gousaiyang
2021-04-07 15:51:13 -07:00
parent 885f623c4b
commit d76c890667

View File

@@ -57,7 +57,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade pip setuptools wheel
pip install .[testing] coverage pip install .[testing] coverage coveralls
- name: Run pytest with coverage - name: Run pytest with coverage
run: | run: |
coverage run -m pytest coverage run -m pytest
@@ -65,6 +65,4 @@ jobs:
- name: Upload coverage report to Coveralls - name: Upload coverage report to Coveralls
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: coveralls --service=github
pip install --quiet coveralls
coveralls