-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typing cleanup + docker cleanup and numpy upgrade (#129)
* Typing cleanup + docker cleanup and numpy upgrade * Ignore complaint
- Loading branch information
Showing
10 changed files
with
31 additions
and
31 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 |
---|---|---|
|
@@ -69,23 +69,23 @@ jobs: | |
apt-get install -y clang | ||
- name: upgrade pip | ||
run: python3 -m pip install --break-system-packages --upgrade setuptools pip | ||
run: python3 -m pip install --upgrade setuptools pip | ||
|
||
- name: Check formatting | ||
run: | | ||
python3 -m pip install --break-system-packages ruff | ||
python3 -m pip install ruff | ||
ruff check | ||
ruff format | ||
- name: Check typing | ||
run: | | ||
python3 -m pip install --break-system-packages mypy | ||
python3 -m pip install mypy | ||
cd python | ||
python3 -m mypy . --exclude=build | ||
- name: Install h5py | ||
run: | | ||
python3 -m pip install --no-build-isolation --break-system-packages --no-cache-dir --no-binary=h5py h5py | ||
python3 -m pip install --no-build-isolation --no-cache-dir --no-binary=h5py h5py | ||
- name: Install DOLFINx | ||
uses: jorgensd/actions/[email protected] | ||
|
@@ -103,7 +103,7 @@ jobs: | |
cmake --install build-dir | ||
- name: Install DOLFINx-MPC (Python) | ||
run: python3 -m pip -v install --break-system-packages --config-settings=cmake.build-type=${MPC_BUILD_MODE} --no-build-isolation -e python/[test] | ||
run: python3 -m pip -v install --config-settings=cmake.build-type=${MPC_BUILD_MODE} --no-build-isolation -e python/[test] | ||
|
||
- name: Run tests (serial) | ||
run: coverage run --rcfile=.coveragerc -m mpi4py -m pytest python/tests/ -vs | ||
|
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
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
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
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