From 6bc191c62b7d349ad90c7858239b126a1c53783e Mon Sep 17 00:00:00 2001 From: clementpoiret Date: Tue, 29 Oct 2024 12:52:42 +0100 Subject: [PATCH] fix(action): use devenv test --- .github/workflows/python-app.yml | 36 +++++++++++++++++--------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index dea43e6..76d197e 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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/codeclimate-action@v3.0.0 - 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/codacy-coverage-reporter-action@v1.1.0 - 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/codeclimate-action@v3.0.0 + # 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/codacy-coverage-reporter-action@v1.1.0 + # with: + # project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + # api-token: ${{ secrets.CODACY_API_TOKEN }} + # coverage-reports: ${{ github.workspace }}/coverage.xml