From 41f71ff446965fe9dde6b79f2b54f615442a80bc Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Thu, 12 Oct 2023 06:25:16 -0400 Subject: [PATCH] Actually fix tests --- .github/workflows/src.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/src.yml b/.github/workflows/src.yml index 759848d..6b56d5a 100644 --- a/.github/workflows/src.yml +++ b/.github/workflows/src.yml @@ -35,14 +35,17 @@ jobs: - name: Run program run: | source venv/bin/activate - echo 'on-the-metal test is very testy test test' /tmp/ghaction.txt - commandname --word 'test' /tmp ./outgoing + mkdir /tmp/incoming + echo 'on-the-metal test is very testy test test' > /tmp/incoming/ghaction.txt + commandname --word 'test' /tmp/incoming /tmp/outgoing - if ! [ -e 'outgoing/ghaction.count.txt' ]; then - echo "Contents of outgoing: " outgoing/* + if ! [ -e '/tmp/outgoing/ghaction.count.txt' ]; then + echo "Contents of /tmp/outgoing: " /tmp/outgoing/* echo "::error ::File outgoing/ghaction.count.txt was not created." fi + rm -rvf /tmp/incoming /tmp/outgoing + integration: name: Integration tests runs-on: ubuntu-latest