Skip to content

Commit

Permalink
Enable checks-as-errors when running gnatprove (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
damaki authored Nov 13, 2022
1 parent fdd17d6 commit 9ef2ff9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ jobs:
run: |
cd prove
alr exec -- gnatprove -P ../cobs.gpr
# Skip on Windows due to broken toolchain/environment which causes
# all proof checks to fail (except initialization and termination).
if: matrix.os != 'windows-latest'
3 changes: 2 additions & 1 deletion cobs.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ project Cobs is
"--timeout=60",
"--memlimit=0",
"--steps=15000",
"--report=statistics");
"--report=statistics",
"--checks-as-errors");
end Prove;

end Cobs;

0 comments on commit 9ef2ff9

Please sign in to comment.