Skip to content

Commit

Permalink
fix(action): use devenv test
Browse files Browse the repository at this point in the history
  • Loading branch information
clementpoiret committed Oct 29, 2024
1 parent 6ae60d9 commit 6bc191c
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,22 @@ jobs:
run: nix profile install nixpkgs#devenv

- name: Run Tests and Coverage
run: devenv shell pytestcoverage

- name: Publish Coverage on CodeClimate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: |
${{ github.workspace }}/coverage.xml:coverage.py
debug: true

- name: Publish Coverage on Codacy
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
api-token: ${{ secrets.CODACY_API_TOKEN }}
coverage-reports: ${{ github.workspace }}/coverage.xml
run: devenv test

# run: devenv shell pytestcoverage
#
# - name: Publish Coverage on CodeClimate
# uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
# with:
# coverageLocations: |
# ${{ github.workspace }}/coverage.xml:coverage.py
# debug: true
#
# - name: Publish Coverage on Codacy
# uses: codacy/[email protected]
# with:
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# api-token: ${{ secrets.CODACY_API_TOKEN }}
# coverage-reports: ${{ github.workspace }}/coverage.xml

0 comments on commit 6bc191c

Please sign in to comment.