File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1919
2020 steps :
2121 - uses : actions/checkout@v4
22+ - name : Permit unprivileged user namespaces
23+ run : |
24+ set -x
25+ sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
26+ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
27+
2228 - name : Set up Python ${{ matrix.python-version }}
2329 uses : actions/setup-python@v3
2430 with :
Original file line number Diff line number Diff line change 1- from os import environ
21from platform import system
32from sys import version_info
43from unittest import TestCase , main , skipIf
87
98def check_test_compat ():
109 """Checks if tests are compatible with the current environment"""
11-
12- if environ .get ("CI" , "false" ).lower () == "true" :
13- return
14-
1510 if system () != "Linux" :
1611 return
1712
You can’t perform that action at this time.
0 commit comments