ops: possible fix for sandbox issue with GitHub's CI

This commit is contained in:
Karim shoair
2025-06-27 02:26:35 +03:00
parent e535a3fa16
commit 9b62b59490
+11 -6
View File
@@ -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