From 66eadd22f0c4f1cd31f6b14676d2638d05e3ca36 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Wed, 4 Dec 2024 06:52:35 +0000 Subject: [PATCH 1/2] ci: run github actions on pull requests Closes #1315 --- .github/workflows/oidc-e2e.yml | 11 +++++++++++ .github/workflows/oidc-integration.yml | 11 +++++++++++ .github/workflows/s3-e2e.yml | 11 +++++++++++ .github/workflows/soak-test.yml | 11 +++++++++++ .github/workflows/standard-e2e.yml | 11 +++++++++++ .github/workflows/standard-suite.yml | 11 +++++++++++ 6 files changed, 66 insertions(+) diff --git a/.github/workflows/oidc-e2e.yml b/.github/workflows/oidc-e2e.yml index e4093862b..dfb2e97b8 100644 --- a/.github/workflows/oidc-e2e.yml +++ b/.github/workflows/oidc-e2e.yml @@ -7,7 +7,18 @@ env: ODK_PLAYWRIGHT_BROWSERS: chromium,firefox,webkit jobs: + pre_job: + runs-on: ubuntu-latest + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content' oidc-e2e-test: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' 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..9b721991f 100644 --- a/.github/workflows/oidc-integration.yml +++ b/.github/workflows/oidc-integration.yml @@ -3,7 +3,18 @@ name: OIDC integration tests on: push jobs: + pre_job: + runs-on: ubuntu-latest + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content' oidc-integration-test: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' 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..72c6a3528 100644 --- a/.github/workflows/s3-e2e.yml +++ b/.github/workflows/s3-e2e.yml @@ -3,7 +3,18 @@ name: S3 E2E Tests on: push jobs: + pre_job: + runs-on: ubuntu-latest + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content' s3-e2e: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' 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..15ad1eaac 100644 --- a/.github/workflows/soak-test.yml +++ b/.github/workflows/soak-test.yml @@ -3,7 +3,18 @@ name: Soak Test on: push jobs: + pre_job: + runs-on: ubuntu-latest + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content' soak-test: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' 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..acbab71c8 100644 --- a/.github/workflows/standard-e2e.yml +++ b/.github/workflows/standard-e2e.yml @@ -6,7 +6,18 @@ env: LOG_LEVEL: DEBUG jobs: + pre_job: + runs-on: ubuntu-latest + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content' standard-e2e: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' 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..86e9b3712 100644 --- a/.github/workflows/standard-suite.yml +++ b/.github/workflows/standard-suite.yml @@ -3,7 +3,18 @@ name: Full Standard Test Suite on: push jobs: + pre_job: + runs-on: ubuntu-latest + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content' standard-tests: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' timeout-minutes: 20 # TODO should we use the same container as circle & central? runs-on: ubuntu-latest From 82d69c14672e4e75efc79d421ccf860962788421 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Wed, 4 Dec 2024 07:00:31 +0000 Subject: [PATCH 2/2] Trigger build --- build | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 build diff --git a/build b/build new file mode 100644 index 000000000..e69de29bb