-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into access-distr-outer
- Loading branch information
Showing
130 changed files
with
3,783 additions
and
1,052 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: coverage | ||
|
||
on: | ||
pull_request: | ||
|
||
workflow_dispatch: | ||
|
||
schedule: | ||
# nightly | ||
- cron: '31 1 * * *' # 01:31 UTC, 02:31/03:31 Munich, 03:31/04:31 Tartu | ||
# GitHub Actions load is high at minute 0, so avoid that | ||
|
||
jobs: | ||
coverage: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
ocaml-compiler: | ||
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file | ||
# don't add any other because they won't be used | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
OCAMLRUNPARAM: b | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up OCaml ${{ matrix.ocaml-compiler }} | ||
env: | ||
# otherwise setup-ocaml pins non-locked dependencies | ||
# https://github.com/ocaml/setup-ocaml/issues/166 | ||
OPAMLOCKED: locked | ||
uses: ocaml/setup-ocaml@v2 | ||
with: | ||
ocaml-compiler: ${{ matrix.ocaml-compiler }} | ||
|
||
- name: Install dependencies | ||
run: opam install . --deps-only --locked --with-test | ||
|
||
- name: Install coverage dependencies | ||
run: opam install bisect_ppx | ||
|
||
- name: Build | ||
run: ./make.sh coverage | ||
|
||
- name: Test regression | ||
run: ./make.sh headers testci | ||
|
||
- name: Test apron regression # skipped by default but CI has apron, so explicitly test group (which ignores skipping -- it's now a feature!) | ||
run: | | ||
ruby scripts/update_suite.rb group apron -s | ||
ruby scripts/update_suite.rb group apron2 -s | ||
- name: Test apron octagon regression # skipped by default but CI has apron, so explicitly test group (which ignores skipping -- it's now a feature!) | ||
run: ruby scripts/update_suite.rb group octagon -s | ||
|
||
- name: Test apron affeq regression # skipped by default but CI has apron, so explicitly test group (which ignores skipping -- it's now a feature!) | ||
run: ruby scripts/update_suite.rb group affeq -s | ||
|
||
- name: Test apron regression (Mukherjee et. al SAS '17 paper') # skipped by default but CI has apron, so explicitly test group (which ignores skipping -- it's now a feature!) | ||
run: ruby scripts/update_suite.rb group apron-mukherjee -s | ||
|
||
- name: Test regression cram | ||
run: opam exec -- dune runtest tests/regression | ||
|
||
- name: Test incremental cram | ||
run: opam exec -- dune runtest tests/incremental | ||
|
||
- name: Test unit | ||
run: opam exec -- dune runtest unittest | ||
|
||
- name: Test incremental regression | ||
run: ruby scripts/update_suite.rb -i | ||
|
||
- name: Test incremental regression with cfg comparison | ||
run: ruby scripts/update_suite.rb -c | ||
|
||
- run: opam exec -- bisect-ppx-report send-to Coveralls --coverage-path=. | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
PULL_REQUEST_NUMBER: ${{ github.event.number }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: suite_result | ||
path: tests/suite_result/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,3 +94,10 @@ transformed.c | |
|
||
# docs | ||
site/ | ||
|
||
# coverage | ||
|
||
# bisect_ppx | ||
*.coverage | ||
# bisect-ppx-report | ||
_coverage/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule gobview
updated
13 files
+4 −0 | README.md | |
+1 −1 | dune | |
+12 −2 | dune-project | |
+13 −0 | goblint-http-server/LICENSE | |
+47 −0 | goblint-http-server/api.ml | |
+16 −0 | goblint-http-server/dune | |
+103 −0 | goblint-http-server/goblint.ml | |
+160 −0 | goblint-http-server/goblint_http.ml | |
+4 −0 | goblint-http-server/json.ml | |
+8 −0 | goblint-http-server/state.ml | |
+16 −0 | goblint-http-server/utils.ml | |
+11 −0 | gobview.opam | |
+57 −2 | gobview.opam.locked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.