Skip to content

Commit

Permalink
fix ci.yml formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmwells-amazon committed Nov 1, 2023
1 parent 4147ca8 commit a9ed584
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ jobs:
- name: Test
working-directory: ./cedar-lean
shell: bash
run: source ~/.profile && if (lake exe CedarUnitTests | grep "FAILED") then
echo "A unit test failed"
lake exe CedarUnitTests
return 1
else
echo "Unit tests passed"
return 0
fi

run: |
source ~/.profile && \
if (lake exe CedarUnitTests | grep "FAILED") then \
echo "A unit test failed" \
lake exe CedarUnitTests \
return 1 \
else \
echo "Unit tests passed" \
return 0 \
fi \

0 comments on commit a9ed584

Please sign in to comment.