Skip to content

Commit

Permalink
Enable timeout and traces
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Feb 7, 2025
1 parent a165238 commit 0bf50d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ jobs:
ARCH: archlinux
UNPRIVILEGED: arch
TEST_OUTPUT_DIR: /tmp/tests
TRACE: true
TIMEOUT: 10
steps:
- name: Install minimal dependencies
run: pacman -Suy --noconfirm base-devel wget git
run: pacman -Suy --noconfirm base-devel wget git strace

# workaround for upstream nodejs package does not include libnode.so
# https://gitlab.archlinux.org/archlinux/packaging/packages/nodejs/-/issues/1
Expand Down Expand Up @@ -109,7 +111,7 @@ jobs:
path: "build/archlinux/PKGBUILD"

- name: Build package
run: sudo -u $UNPRIVILEGED makepkg -si --noconfirm
run: sudo -u $UNPRIVILEGED --preserve-env=TEST_OUTPUT_DIR,TIMEOUT,TRACE makepkg -si --noconfirm
working-directory: build/archlinux

- name: Test system installation
Expand Down

0 comments on commit 0bf50d6

Please sign in to comment.