Skip to content

Commit

Permalink
ci: run github actions on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Dec 4, 2024
1 parent 911739b commit 66eadd2
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/oidc-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/oidc-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/s3-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/soak-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/standard-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/standard-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66eadd2

Please sign in to comment.