aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/ert.json20
-rw-r--r--.github/workflows/test.yml5
2 files changed, 25 insertions, 0 deletions
diff --git a/.github/ert.json b/.github/ert.json
new file mode 100644
index 00000000..df68cf26
--- /dev/null
+++ b/.github/ert.json
@@ -0,0 +1,20 @@
+{
+ "problemMatcher": [
+ {
+ "owner": "ert-problem-matcher",
+ "severity": "error",
+ "pattern": [
+ {
+ "regexp": "^Test\\s+(.*?)\\s+condition:$"
+ },
+ {
+ "regexp": "^\\s+(.*)$"
+ },
+ {
+ "regexp": "^\\s+((?:FAILED|failed|SKIPPED|skipped|ABORTED|aborted|QUIT|quit)\\s+[0-9]+/[0-9]+\\s+.*)$",
+ "message": 1
+ }
+ ]
+ }
+ ]
+}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 61f8e30d..e2a3ea4d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -67,6 +67,9 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: Add ert problem matcher
+ run: echo "::add-matcher::.github/ert.json"
+
- uses: coq-community/docker-coq-action@v1
id: docker-coq-action
with:
@@ -84,3 +87,5 @@ jobs:
startGroup Run tests
./ci/test.sh
endGroup
+
+ # - run: echo "::remove-matcher owner=ert-problem-matcher::"