Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github: use problem matches on Copter SITL #27412

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/problem-matchers/autotestfail.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"__comment": "by buzz try to match common autotest warnings and errors that arent caught by gcc.json or python.json",
"__comment": "by buzz try to match autotest test failures",
"problemMatcher": [
{
"owner": "autotest-fail-matcher",
"severity": "error",
"pattern": [
{
"regexp": "^(.*)(TIMEOUT|Build failed|FAILED STEP):(.*)$",
"regexp": "^(.*)(TIMEOUT|Build failed|FAILED STEP|FAILED):(.*)$",
"column": 1,
"code": 2,
"message": 3
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down Expand Up @@ -226,6 +227,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down Expand Up @@ -223,6 +224,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down
Loading