Skip to content

Commit

Permalink
Towards fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adomasbaliuka committed Nov 29, 2024
1 parent 796ad42 commit 926d7c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/lean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,5 @@ jobs:
check-reservoir-eligibility: false
run_executable:
steps:
- pwd
- tree
- echo "8875913 1124087 165048 20902 185856 26055 3456 484\n1776924" | .lake/build/bin/formalqkd > output.txt
- if cat output.txt | grep -q 'SKL = 1464719'; then
echo "matched"
fi
- test/run_executable_example.sh

10 changes: 10 additions & 0 deletions test/run_executable_example.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

printf "8875913 1124087 165048 20902 185856 26055 3456 484\n1776924" | .lake/build/bin/formalqkd > output.txt

if cat output.txt | grep -q 'SKL = 1464719'; then
echo "Expected result."
else
echo "Unexpected result"
exit -1
fi

0 comments on commit 926d7c1

Please # to comment.