mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
Move codacy into main action
This commit is contained in:
parent
8b90602808
commit
92e9e07f34
2 changed files with 16 additions and 17 deletions
16
.github/workflows/pythonpackage.yml
vendored
16
.github/workflows/pythonpackage.yml
vendored
|
|
@ -89,5 +89,21 @@ jobs:
|
|||
|
||||
- name: run test
|
||||
run: |
|
||||
echo `pwd`
|
||||
echo `ls`
|
||||
cd testing_mygame
|
||||
coverage run --source=../evennia --omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service ../bin/unix/evennia test --settings=settings --keepdb evennia
|
||||
|
||||
# we only want to run coverall once, so we only do it for one of the matrix combinations
|
||||
- name: run coverall
|
||||
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == 3.7 }}
|
||||
run: |
|
||||
coveralls
|
||||
coverage xml
|
||||
python-codacy-coverage -r coverage.xml
|
||||
|
||||
- name: codacy-coverage-reporter
|
||||
uses: codacy/codacy-coverage-reporter-action@master
|
||||
with:
|
||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
coverage-reports: coverage.xml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue