Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/dolfinx-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
- name: Install FEniCS Python components
if: github.event_name != 'workflow_dispatch'
run: |
python3 -m pip install --break-system-packages git+https://github.com/FEniCS/ufl.git

Check warning on line 52 in .github/workflows/dolfinx-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=FEniCS_basix&issues=AZ3oOzqEWw6vxPu0n2wY&open=AZ3oOzqEWw6vxPu0n2wY&pullRequest=1004
python3 -m pip install --break-system-packages git+https://github.com/FEniCS/ffcx.git

Check warning on line 53 in .github/workflows/dolfinx-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=FEniCS_basix&issues=AZ3oOzqEWw6vxPu0n2wZ&open=AZ3oOzqEWw6vxPu0n2wZ&pullRequest=1004
- name: Install FEniCS Python components
if: github.event_name == 'workflow_dispatch'
run: |
python3 -m pip install --break-system-packages git+https://github.com/FEniCS/ufl.git@${{ github.event.inputs.ufl_branch }}

Check warning on line 57 in .github/workflows/dolfinx-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=FEniCS_basix&issues=AZ3oOzqEWw6vxPu0n2wa&open=AZ3oOzqEWw6vxPu0n2wa&pullRequest=1004
python3 -m pip install --break-system-packages git+https://github.com/FEniCS/ffcx.git@${{ github.event.inputs.ffcx_branch }}

Check warning on line 58 in .github/workflows/dolfinx-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=FEniCS_basix&issues=AZ3oOzqEWw6vxPu0n2wb&open=AZ3oOzqEWw6vxPu0n2wb&pullRequest=1004
- name: Get DOLFINx
if: github.event_name != 'workflow_dispatch'
uses: actions/checkout@v6
Expand All @@ -80,16 +80,18 @@
run: ctest -V --output-on-failure -R unittests
- name: Install DOLFINx (Python)
run: |
python3 -m pip install scikit-build-core

Check warning on line 83 in .github/workflows/dolfinx-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=FEniCS_basix&issues=AZ3oOzqEWw6vxPu0n2wc&open=AZ3oOzqEWw6vxPu0n2wc&pullRequest=1004
python3 -m scikit_build_core.build requires | python3 -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
python3 -m pip -v install --break-system-packages --check-build-dependencies --no-build-isolation dolfinx/python/
- name: Workaround (dolfinx typing limitation)
run: rm /dolfinx-env/lib64/python3.12/site-packages/petsc4py/PETSc.pyi
- name: Run mypy checks
run: |
python3 -m pip install --break-system-packages mypy

Check warning on line 90 in .github/workflows/dolfinx-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=FEniCS_basix&issues=AZ3oOzqEWw6vxPu0n2wd&open=AZ3oOzqEWw6vxPu0n2wd&pullRequest=1004
cd dolfinx/python
python3 -m mypy dolfinx
- name: Install Python demo/test dependencies
run: python3 -m pip install --break-system-packages matplotlib numba pyamg pytest pytest-xdist scipy pyvista networkx

Check warning on line 94 in .github/workflows/dolfinx-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=FEniCS_basix&issues=AZ3oOzqEWw6vxPu0n2we&open=AZ3oOzqEWw6vxPu0n2we&pullRequest=1004
- name: Run DOLFINx Python unit tests
run: |
cd dolfinx
Expand Down
Loading