Skip to content

Commit

Permalink
Disable tracing but keep the timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Feb 7, 2025
1 parent f4295d3 commit 7a9e9dd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
UNPRIVILEGED: ubuntu
TEST_OUTPUT_DIR: /tmp/tests
WORKDIR: /tmp/workdir
#TRACE: true
TIMEOUT: 10
steps:
- name: Install minimal dependencies
run: |
Expand All @@ -32,7 +34,7 @@ jobs:
echo "$UNPRIVILEGED ALL = NOPASSWD: $(which apt-get)" | tee -a /etc/sudoers
- name: Build package
run: sudo -u $UNPRIVILEGED --preserve-env=WORKDIR env SUDO=sudo build/ubuntu/mk
run: sudo -u $UNPRIVILEGED --preserve-env=WORKDIR,TEST_OUTPUT_DIR,TIMEOUT,TRACE env SUDO=sudo build/ubuntu/mk

- name: Archive source package
uses: actions/upload-artifact@v4
Expand All @@ -48,7 +50,7 @@ jobs:
run: |
export TOOLS=$(readlink -f "$WORKDIR"/*/tools)
run() {
sudo -u $UNPRIVILEGED --preserve-env=TEST_OUTPUT_DIR,TOOLS \
sudo -u $UNPRIVILEGED --preserve-env=TEST_OUTPUT_DIR,TOOLS,TIMEOUT,TRACE \
env SUT=$(which $1) SHOW_IDS=1 \
tools/test-harness -c $1
}
Expand All @@ -73,7 +75,7 @@ jobs:
ARCH: archlinux
UNPRIVILEGED: arch
TEST_OUTPUT_DIR: /tmp/tests
TRACE: true
#TRACE: true
TIMEOUT: 10
steps:
- name: Install minimal dependencies
Expand Down Expand Up @@ -118,7 +120,7 @@ jobs:
run: |
export TOOLS=$(readlink -f build/archlinux/src/*/tools)
run() {
sudo -u $UNPRIVILEGED --preserve-env=TEST_OUTPUT_DIR,TOOLS \
sudo -u $UNPRIVILEGED --preserve-env=TEST_OUTPUT_DIR,TOOLS,TIMEOUT,TRACE \
env SUT=$(which $1) SHOW_IDS=1 \
tools/test-harness -c $1
}
Expand Down

0 comments on commit 7a9e9dd

Please sign in to comment.