mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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 \
|
||||
evennia
|
||||
coverage xml
|
||||
coverage report | grep TOTAL
|
||||
|
||||
- name: Run test suite
|
||||
if: matrix.TESTING_DB != 'sqlite3' || matrix.python-version != '3.10'
|
||||
|
|
@ -148,25 +149,26 @@ jobs:
|
|||
--timing \
|
||||
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
|
||||
# available outside of the evennia org)
|
||||
|
||||
- name: Send data to Coveralls
|
||||
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
|
||||
continue-on-error: true
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
run: |
|
||||
cd testing_mygame
|
||||
coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
base-path: testing_mygame
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Send data to Codacy
|
||||
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
|
||||
continue-on-error: true
|
||||
uses: codacy/codacy-coverage-reporter-action@master
|
||||
with:
|
||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
coverage-reports: ./testing_mygame/coverage.xml
|
||||
# - name: Send data to Coveralls
|
||||
# if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
|
||||
# continue-on-error: true
|
||||
# env:
|
||||
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
# run: |
|
||||
# cd testing_mygame
|
||||
# coveralls
|
||||
|
||||
# docker setup and push
|
||||
-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue