diff options
| author | Erik Martin-Dorel | 2020-05-01 02:27:31 +0200 |
|---|---|---|
| committer | Erik Martin-Dorel | 2020-05-01 02:54:28 +0200 |
| commit | 5d3ca2c07392c36f9caea67bbbc4c14661c8fa08 (patch) | |
| tree | d8a82298f007aef2229117c68e07f94f91e464be /.github | |
| parent | 42c5e4cc7dd34232d5e73192d989ea1cdb24b33f (diff) | |
test: Add ert-problem-matcher for CI workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/ert.json | 20 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 5 |
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::" |
