Skip to content

Commit

Permalink
added upload to codacy and limited that to run only on master, and ub…
Browse files Browse the repository at this point in the history
…untu-latest.
  • Loading branch information
vogt31337 committed Jun 25, 2024
1 parent 47dc54a commit 0a29eca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
if: ${{ matrix.python-version == '3.11' }}
run: |
python -m pip install numba
python -m pytest -n=auto "./tutorials"
python -m pytest --nbmake -n=auto "./tutorials"
docs_check:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/run_tests_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ jobs:
if: ${{ matrix.python-version == '3.9' }}
uses: codecov/codecov-action@v4
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
verbose: true
- name: Upload coverage to Codacy
if: ${{ matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'}}
uses: codacy/codacy-analysis-cli-action@master
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
upload: true

tutorial_tests:
Expand Down Expand Up @@ -87,7 +91,7 @@ jobs:
if: ${{ matrix.python-version == '3.11' }}
run: |
python -m pip install numba
python -m pytest -n=auto "./tutorials"
python -m pytest --nbmake -n=auto "./tutorials"
docs_check:
Expand Down

0 comments on commit 0a29eca

Please sign in to comment.