Skip to content

Commit

Permalink
Actually fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Oct 12, 2023
1 parent 7f3ed2b commit 41f71ff
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41f71ff

Please sign in to comment.