ci: add /ci-all trigger to run all jobs at once /ci-all
Some checks failed
C++ Tests / test-fast (pull_request) Successful in 2m23s
C++ Tests / quality-gates (pull_request) Has been skipped
C++ Tests / test-fast (push) Successful in 2m16s
C++ Tests / quality-gates (push) Failing after 2m25s
API Docs / doc-build (push) Successful in 59s
Markdown link check / check (push) Successful in 49s
C++ Tests / test-cgal (pull_request) Has been skipped
C++ Tests / test-cgal (push) Failing after 21m12s

This commit is contained in:
Tarik Moussa
2026-05-31 01:16:45 +02:00
parent 7df47c0435
commit 5fbd1b20a5
3 changed files with 13 additions and 5 deletions

View File

@@ -3,9 +3,11 @@ name: C++ Tests
# Trigger keywords in commit message (checked via head_commit.message):
# /test-cgal — full CGAL test suite (277 tests, ~5 min build)
# /quality-gates — license, codespell, shellcheck, CGAL conventions
# /ci-all — all of the above + /docs + /links (across all workflows)
#
# Example commit:
# Examples:
# git commit -m "fix: correct angle formula /test-cgal"
# git commit -m "release prep /ci-all"
#
# test-fast always runs on every push — it is fast (< 5 s) and cheap.
@@ -74,7 +76,9 @@ jobs:
# ─────────────────────────────────────────────────────────────────────────────
test-cgal:
needs: test-fast
if: contains(github.event.head_commit.message, '/test-cgal')
if: |
contains(github.event.head_commit.message, '/test-cgal') ||
contains(github.event.head_commit.message, '/ci-all')
runs-on: eulernest
container:
image: git.eulernest.eu/conformallab/ci-cpp:latest
@@ -129,7 +133,9 @@ jobs:
# Cheap (~30 s): license headers, CGAL conventions, codespell, shellcheck.
# ─────────────────────────────────────────────────────────────────────────────
quality-gates:
if: contains(github.event.head_commit.message, '/quality-gates')
if: |
contains(github.event.head_commit.message, '/quality-gates') ||
contains(github.event.head_commit.message, '/ci-all')
runs-on: eulernest
container:
image: git.eulernest.eu/conformallab/ci-cpp:latest