From ed9c789a522acdce46f3bacb96c59d7d0cf6544e Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Wed, 4 Dec 2024 06:39:48 +0000 Subject: [PATCH] ci: run github actions on pull requests Closes #1315 --- .github/workflows/oidc-e2e.yml | 5 ++++- .github/workflows/oidc-integration.yml | 5 ++++- .github/workflows/s3-e2e.yml | 5 ++++- .github/workflows/soak-test.yml | 5 ++++- .github/workflows/standard-e2e.yml | 5 ++++- .github/workflows/standard-suite.yml | 5 ++++- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/oidc-e2e.yml b/.github/workflows/oidc-e2e.yml index e4093862b..15f664ab3 100644 --- a/.github/workflows/oidc-e2e.yml +++ b/.github/workflows/oidc-e2e.yml @@ -1,6 +1,8 @@ name: OIDC e2e tests -on: push +on: + push: + pull_request: env: DEBUG: pw:api @@ -8,6 +10,7 @@ env: jobs: oidc-e2e-test: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name timeout-minutes: 6 # TODO should we use the same container as circle & central? runs-on: ubuntu-latest diff --git a/.github/workflows/oidc-integration.yml b/.github/workflows/oidc-integration.yml index 3c9248b8d..da3622534 100644 --- a/.github/workflows/oidc-integration.yml +++ b/.github/workflows/oidc-integration.yml @@ -1,9 +1,12 @@ name: OIDC integration tests -on: push +on: + push: + pull_request: jobs: oidc-integration-test: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name timeout-minutes: 6 # TODO should we use the same container as circle & central? runs-on: ubuntu-latest diff --git a/.github/workflows/s3-e2e.yml b/.github/workflows/s3-e2e.yml index 278b6209f..64308fea3 100644 --- a/.github/workflows/s3-e2e.yml +++ b/.github/workflows/s3-e2e.yml @@ -1,9 +1,12 @@ name: S3 E2E Tests -on: push +on: + push: + pull_request: jobs: s3-e2e: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name timeout-minutes: 15 # TODO should we use the same container as circle & central? runs-on: ubuntu-latest diff --git a/.github/workflows/soak-test.yml b/.github/workflows/soak-test.yml index f07cb96ad..f6fdd4206 100644 --- a/.github/workflows/soak-test.yml +++ b/.github/workflows/soak-test.yml @@ -1,9 +1,12 @@ name: Soak Test -on: push +on: + push: + pull_request: jobs: soak-test: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name timeout-minutes: 15 # TODO should we use the same container as circle & central? runs-on: ubuntu-latest diff --git a/.github/workflows/standard-e2e.yml b/.github/workflows/standard-e2e.yml index a88832a57..4a9d30bc3 100644 --- a/.github/workflows/standard-e2e.yml +++ b/.github/workflows/standard-e2e.yml @@ -1,12 +1,15 @@ name: Standard E2E Tests -on: push +on: + push: + pull_request: env: LOG_LEVEL: DEBUG jobs: standard-e2e: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name timeout-minutes: 15 # TODO should we use the same container as circle & central? runs-on: ubuntu-latest diff --git a/.github/workflows/standard-suite.yml b/.github/workflows/standard-suite.yml index 005164fda..95c10dcc7 100644 --- a/.github/workflows/standard-suite.yml +++ b/.github/workflows/standard-suite.yml @@ -1,9 +1,12 @@ name: Full Standard Test Suite -on: push +on: + push: + pull_request: jobs: standard-tests: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name timeout-minutes: 20 # TODO should we use the same container as circle & central? runs-on: ubuntu-latest