ci: run CGAL tests only on pull requests, not on every push
Reduces Pi load: test-cgal now triggers only when a PR is opened/updated, not on every push to dev or main. test-fast continues to run on all branches. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Job 2 — test-cgal
|
||||
# Vollständige CGAL-Test-Suite (Phase 3–7, 158 Tests).
|
||||
# Läuft nur auf main, dev und Pull Requests — nicht auf Feature-Branches.
|
||||
# Läuft NUR bei Pull Requests (nicht bei direkten Pushes auf dev/main).
|
||||
# Startet erst nach erfolgreichem test-fast.
|
||||
#
|
||||
# Verwendet -DWITH_CGAL_TESTS=ON (nicht -DWITH_CGAL=ON), damit kein
|
||||
@@ -59,10 +59,7 @@ jobs:
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
test-cgal:
|
||||
needs: test-fast
|
||||
if: >
|
||||
github.ref == 'refs/heads/main' ||
|
||||
github.ref == 'refs/heads/dev' ||
|
||||
github.event_name == 'pull_request'
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: eulernest
|
||||
container:
|
||||
image: git.eulernest.eu/conformallab/ci-cpp:latest
|
||||
|
||||
Reference in New Issue
Block a user