Skip to content

Commit

Permalink
Fail early
Browse files Browse the repository at this point in the history
  • Loading branch information
Jip-Hop committed Jul 16, 2024
1 parent 2256d31 commit 5e78f3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:

# Create a network namespace in the GitHub-hosted runner VM,
# simulating a primary bridge network on TrueNAS SCALE
- name: Set up networking resources
- name: Install packages and setup networking
run: |
sudo -s <<END
set -euo pipefail
systemctl disable systemd-resolved --now
rm /etc/resolv.conf
Expand Down Expand Up @@ -87,6 +88,7 @@ jobs:
env:
PYTHONUNBUFFERED: 1
run: |
set -euo pipefail
python3 -m zipapp src/jlmkr -p "/usr/bin/env python3" -o jlmkr
sudo chown 0:0 jlmkr ./test/test-jlmkr
sudo bash ./test/test-jlmkr
Expand Down

0 comments on commit 5e78f3e

Please sign in to comment.