Skip to content

Commit

Permalink
try N at fixing apptainer execution in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Dec 20, 2024
1 parent 0326edd commit d507d71
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/run_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ on:
jobs:
test-py310:
runs-on: ubuntu-latest
container:
options: --privileged
steps:
- name: Configure user namespaces
run: |
sudo sysctl -w kernel.unprivileged_userns_clone=1
sudo mkdir -p /etc/subuid /etc/subgid
sudo touch /etc/subuid /etc/subgid
sudo usermod --add-subuids 10000-75535 runner
sudo usermod --add-subgids 10000-75535 runner
- uses: eWaterCycle/setup-apptainer@v2
with:
apptainer-version: 1.3.0
Expand Down

0 comments on commit d507d71

Please sign in to comment.