From a6923da88a073c0f854b75f99f18a68b998405ac Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Mon, 11 May 2026 12:12:07 +0200 Subject: [PATCH] ci: build, api-test, front-test only on pull_request --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9da694e..3ddd986a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,6 +144,7 @@ jobs: name: Build runs-on: ubuntu-latest needs: [rust-fmt, rust-clippy, rust-test] + if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@stable @@ -158,7 +159,7 @@ jobs: api-test: name: API tests (via Hurl) needs: build - # if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' timeout-minutes: 30 runs-on: ubuntu-latest steps: @@ -197,7 +198,7 @@ jobs: name: Frontend end-to-end tests (via Playwright) # ensure that api tests are ok before needs: api-test - # if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' timeout-minutes: 60 runs-on: ubuntu-latest steps: