Test alternative coveralls send
This commit is contained in:
parent
b3e601c4c8
commit
25dc36af2a
1 changed files with 15 additions and 13 deletions
28
.github/workflows/github_action_test_suite.yml
vendored
28
.github/workflows/github_action_test_suite.yml
vendored
|
|
@ -136,6 +136,7 @@ jobs:
|
||||||
--timing \
|
--timing \
|
||||||
evennia
|
evennia
|
||||||
coverage xml
|
coverage xml
|
||||||
|
coverage report | grep TOTAL
|
||||||
|
|
||||||
- name: Run test suite
|
- name: Run test suite
|
||||||
if: matrix.TESTING_DB != 'sqlite3' || matrix.python-version != '3.10'
|
if: matrix.TESTING_DB != 'sqlite3' || matrix.python-version != '3.10'
|
||||||
|
|
@ -148,25 +149,26 @@ jobs:
|
||||||
--timing \
|
--timing \
|
||||||
evennia
|
evennia
|
||||||
|
|
||||||
# we only want to run coverall/codacy once, so we only do it for one of the matrix combinations
|
# we only want to run coverall once, so we only do it for one of the matrix combinations
|
||||||
# it's also not critical if pushing to either service fails (happens for PRs since env is not
|
# it's also not critical if pushing to either service fails (happens for PRs since env is not
|
||||||
# available outside of the evennia org)
|
# available outside of the evennia org)
|
||||||
|
|
||||||
- name: Send data to Coveralls
|
- name: Send data to Coveralls
|
||||||
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
|
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
env:
|
uses: coverallsapp/github-action@master
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
with:
|
||||||
run: |
|
base-path: testing_mygame
|
||||||
cd testing_mygame
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
coveralls
|
|
||||||
|
|
||||||
- name: Send data to Codacy
|
# - name: Send data to Coveralls
|
||||||
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
|
# if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
|
||||||
continue-on-error: true
|
# continue-on-error: true
|
||||||
uses: codacy/codacy-coverage-reporter-action@master
|
# env:
|
||||||
with:
|
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
# run: |
|
||||||
coverage-reports: ./testing_mygame/coverage.xml
|
# cd testing_mygame
|
||||||
|
# coveralls
|
||||||
|
|
||||||
# docker setup and push
|
# docker setup and push
|
||||||
-
|
-
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue