Skip to content

Commit

Permalink
fix paths again in GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
tykling committed Apr 12, 2024
1 parent 8c105f4 commit eca390d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,21 @@ jobs:

- name: "Check out main repo"
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11"
with:
path: "src"

- name: "Copy settings"
run: "cp ./src/bma/environment_settings.py.ci ./src/bma/environment_settings.py"
run: "cp src/bma/environment_settings.py.ci src/bma/environment_settings.py"

- name: "Install python dependencies"
run: "python -m pip install ./src/[test]"
run: "python -m pip install .[test]"

- name: "Run Tox"
run: "tox -e py"
working-directory: "./src"

- name: "Upload coverage to Codecov"
uses: "codecov/[email protected]"
with:
token: "${{secrets.CODECOV_TOKEN}}"
# disable until codecov improves stability
# fail_ci_if_error: true
files: "./src/coverage.xml"
working-directory: "./src"
files: "coverage.xml"
...

0 comments on commit eca390d

Please sign in to comment.