Skip to content

Commit

Permalink
add --break-system-packages on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed May 5, 2024
1 parent c1061ae commit 3609457
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- uses: actions/checkout@v4

- name: Update pip
run: python3 -m pip install --upgrade pip setuptools
run: python3 -m pip install --break-system-packages --upgrade pip setuptools

- name: Install dependencies
run: python3 -m pip install -e ".[docs]"
run: python3 -m pip install --break-system-packages -e ".[docs]"

- name: Build docs
run: jupyter book build -W .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/checkout@v4

- name: Update pip
run: python3 -m pip install --upgrade pip setuptools
run: python3 -m pip install --break-system-packages --upgrade pip setuptools

- name: Install code
run: python3 -m pip install .[dev]
run: python3 -m pip install --break-system-packages.[dev]

- name: Check code formatting with ruff
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_legacy_checkpoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install legacy version of adios4dolfinx
run: python3 -m pip install adios4dolfinx==${adios4dolfinx_version}
run: python3 -m pip install --break-system-packages adios4dolfinx==${adios4dolfinx_version}

- name: Create datasets
run: python3 ./tests/create_legacy_checkpoint.py --output-dir=$data_dir
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v4

- name: Update pip
run: python3 -m pip install --upgrade pip setuptools
run: python3 -m pip install --break-system-packages --upgrade pip setuptools

- name: Download legacy data
uses: actions/download-artifact@v4
Expand All @@ -56,7 +56,7 @@ jobs:
path: ./legacy_checkpoint

- name: Install package
run: python3 -m pip install .[test]
run: python3 -m pip install --break-system-packages .[test]

- name: Run tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_package_openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v4

- name: Update pip
run: python3 -m pip install --upgrade pip setuptools
run: python3 -m pip --break-system-packages install --upgrade pip setuptools

- name: Install DOLFINx
uses: jorgensd/actions/[email protected]
Expand All @@ -72,7 +72,7 @@ jobs:
path: ./legacy_checkpoint

- name: Install package
run: python3 -m pip install .[test]
run: python3 -m pip install --break-system-packages .[test]

- name: Run tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@v4

- name: Update pip
run: python3 -m pip install --upgrade pip setuptools
run: python3 -m pip install --break-system-packages --upgrade pip setuptools

- name: Install DOLFINx
uses: jorgensd/actions/[email protected]
Expand All @@ -72,7 +72,7 @@ jobs:
path: ./legacy_checkpoint

- name: Install package
run: python3 -m pip install .[test]
run: python3 -m pip install --break-system-packages .[test]

- name: Run tests
run: |
Expand Down

0 comments on commit 3609457

Please sign in to comment.