Skip to content

Commit 85754c2

Browse files
committed
ci: run offline tests in offline environment
Signed-off-by: Facundo Tuesca <[email protected]>
1 parent 7d3252b commit 85754c2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,8 @@ jobs:
5353
cache-dependency-path: pyproject.toml
5454
allow-prereleases: true
5555

56-
- name: test
57-
run: TEST_OFFLINE=1 make test-nocoverage INSTALL_EXTRA=test
56+
- name: install firejail
57+
run: sudo apt-get install -y firejail
58+
59+
- name: run tests offline
60+
run: firejail --noprofile --net=none --env=TEST_OFFLINE=1 make test-nocoverage INSTALL_EXTRA=test

0 commit comments

Comments
 (0)