File tree Expand file tree Collapse file tree 6 files changed +13
-6
lines changed
Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ permissions:
1313jobs :
1414 codespell :
1515 name : Check for spelling errors
16- runs-on : ubuntu-latest
16+ runs-on : ubuntu-24.04
1717
1818 steps :
1919 - name : Checkout
Original file line number Diff line number Diff line change 77
88jobs :
99 validate :
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-24.04
1111
1212 steps :
1313 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- runs-on : ubuntu-latest
14+ runs-on : ubuntu-24.04
1515 strategy :
1616 fail-fast : false
1717 matrix :
5151 pip install codecov '.[tests]' '${{ matrix.urllib3-requirement }}'
5252 pip check
5353
54+ - name : Allow creation of user namespaces (e.g. to the unshare command)
55+ run : |
56+ # .. so that we don't get error:
57+ # unshare: write failed /proc/self/uid_map: Operation not permitted
58+ # Idea from https://github.com/YoYoGames/GameMaker-Bugs/issues/6015#issuecomment-2135552784 .
59+ sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
60+
5461 - name : Run online tests
5562 run : ./runtests.sh --cov=./vcr --cov-branch --cov-report=xml --cov-append -m online
5663
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ permissions:
1616jobs :
1717 pre_commit_detect_outdated :
1818 name : Detect outdated pre-commit hooks
19- runs-on : ubuntu-latest
19+ runs-on : ubuntu-24.04
2020 steps :
2121 - uses : actions/checkout@v4
2222
Original file line number Diff line number Diff line change 1111jobs :
1212 pre-commit :
1313 name : Run pre-commit
14- runs-on : ubuntu-latest
14+ runs-on : ubuntu-24.04
1515 steps :
1616 - uses : actions/checkout@v4
1717 - uses : actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ version: 2
77
88# Set the version of Python and other tools you might need
99build :
10- os : ubuntu-22 .04
10+ os : ubuntu-24 .04
1111 tools :
1212 python : " 3.12"
1313
You can’t perform that action at this time.
0 commit comments