ops: possible fix for sandbox issue with GitHub's CI
This commit is contained in:
@@ -18,36 +18,41 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- python-version: "3.9"
|
||||
os: ubuntu-20.04 # Better sandbox support?
|
||||
os: ubuntu-latest
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.10"
|
||||
os: ubuntu-20.04 # Better sandbox support?
|
||||
os: ubuntu-latest
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.11"
|
||||
os: ubuntu-20.04 # Better sandbox support?
|
||||
os: ubuntu-latest
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.12"
|
||||
os: ubuntu-20.04 # Better sandbox support?
|
||||
os: ubuntu-latest
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.13"
|
||||
os: ubuntu-20.04 # Better sandbox support?
|
||||
os: ubuntu-latest
|
||||
env:
|
||||
TOXENV: py
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Enable user namespaces
|
||||
run: |
|
||||
echo 'kernel.unprivileged_userns_clone=1' | sudo tee -a /etc/sysctl.conf
|
||||
sudo sysctl -p
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: 'pip'
|
||||
cache-dependency-path: |
|
||||
setup.py
|
||||
pyproject.toml
|
||||
requirements*.txt
|
||||
tox.ini
|
||||
|
||||
|
||||
Reference in New Issue
Block a user