Skip to content

Commit

Permalink
test that cabal-test output is expected in Docker regression
Browse files Browse the repository at this point in the history
  • Loading branch information
danmatichuk committed Jan 31, 2024
1 parent 42e8200 commit 83302b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
- name: Test Docker Image
run: |
docker run --rm -it pate --help
docker run --rm -itd --entrypoint bash --name pate -v `pwd`/tests/aarch32:/tests pate
(echo "cabal run pate-test-aarch32 -- -p args-equal") | script -q /dev/null docker attach pate
(echo "bash -c 'cabal run pate-test-aarch32 -- -p args-equal'") | script -q /dev/null docker attach pate > out.log
grep -e "All .* tests passed" out.log || exit 1
build:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 83302b3

Please sign in to comment.