Skip to content

Commit d1a8415

Browse files
committed
ci: run offline tests in offline environment
Signed-off-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
1 parent 7d3252b commit d1a8415

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,10 @@ 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: |
61+
make dev INSTALL_EXTRA=test
62+
firejail --noprofile --net=none --env=TEST_OFFLINE=1 make test-nocoverage

0 commit comments

Comments
 (0)