From 25dc36af2a7d1474240a34620406751b593aedd0 Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 21 Oct 2022 00:38:31 +0200 Subject: [PATCH] Test alternative coveralls send --- .../workflows/github_action_test_suite.yml | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index 3376737a62..e8a1448845 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -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 -