-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump black from 24.3.0 to 24.4.2, fix coverage upload, update dependa…
…bot (#83) * Bump black from 24.3.0 to 24.4.2 Bumps [black](https://github.com/psf/black) from 24.3.0 to 24.4.2. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@24.3.0...24.4.2) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update .pre-commit-config.yaml * Update Tests.yml * Update Tests.yml * Update dependabot.yml --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alasdair Gray <[email protected]>
- Loading branch information
1 parent
a0e40a0
commit 7c09126
Showing
4 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- python-version: "3.9" | ||
- python-version: "3.10" | ||
- python-version: "3.11" | ||
python-version: ["3.10", "3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
@@ -32,15 +29,14 @@ jobs: | |
run: testflo -n 1 -v . | ||
|
||
- name: Generate coverage report | ||
if: ${{ matrix.python-version == 3.10}} | ||
if: ${{ matrix.python-version == 3.12}} | ||
run: | | ||
export NUMBA_DISABLE_JIT=1 | ||
testflo -n 1 -v --coverage --coverpkg FEMpy . | ||
coverage xml | ||
- name: Upload coverage to Codecov | ||
if: ${{ matrix.python-version == 3.10}} | ||
uses: codecov/codecov-action@v4 | ||
export NUMBA_DISABLE_JIT=1 | ||
testflo -n 1 -v --coverage --coverpkg FEMpy . | ||
coverage xml | ||
- name: Upload coverage reports to Codecov | ||
if: ${{ matrix.python-version == 3.12}} | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
fail_ci_if_error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters