Skip to content

Commit

Permalink
CI: Install as editable for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Feb 19, 2024
1 parent 8ddbcdf commit 217b7f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
- name: Install Packages
shell: bash
run: |
pip install ".[extra,test]"
# Install as an editable so that the coverage path
# is predicable
pip install -e ".[extra,test]"
- name: Environment Information
shell: bash
Expand All @@ -42,7 +44,6 @@ jobs:
shell: bash
run: |
ls -la
ls -la tests/*
- uses: actions/upload-artifact@v3
if: failure()
Expand All @@ -57,10 +58,9 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
name: "py${{ matrix.python-version }}"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

lint-and-format:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ codecov:
comment:
behavior: default
branches:
- 'master'
- 'main'

coverage:
round: 'down'
Expand Down

0 comments on commit 217b7f9

Please sign in to comment.