-
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba925c0
commit 8acf575
Showing
1 changed file
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,20 @@ jobs: | |
name: Tests | ||
if: github.event.event_type != 'pull_request_target' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test: | ||
- 'cloud-runner-end2end-locking' | ||
- 'cloud-runner-end2end-caching' | ||
- 'cloud-runner-end2end-retaining' | ||
- 'cloud-runner-caching' | ||
- 'cloud-runner-environment' | ||
- 'cloud-runner-image' | ||
- 'cloud-runner-hooks' | ||
- 'cloud-runner-local-persistence' | ||
- 'cloud-runner-locking-core' | ||
- 'cloud-runner-locking-get-locked' | ||
steps: | ||
- name: Checkout (default) | ||
uses: actions/checkout@v4 | ||
|
@@ -47,7 +61,7 @@ jobs: | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-west-2 | ||
- run: yarn | ||
- run: yarn run test --detectOpenHandles --forceExit --runInBand | ||
- run: yarn run test "${{ matrix.test }}" --detectOpenHandles --forceExit --runInBand | ||
timeout-minutes: 60 | ||
env: | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
|
@@ -67,6 +81,18 @@ jobs: | |
name: K8s Tests | ||
if: github.event.event_type != 'pull_request_target' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test: | ||
# - 'cloud-runner-async-workflow' | ||
- 'cloud-runner-end2end-locking' | ||
- 'cloud-runner-end2end-caching' | ||
- 'cloud-runner-end2end-retaining' | ||
- 'cloud-runner-kubernetes' | ||
- 'cloud-runner-environment' | ||
- 'cloud-runner-github-checks' | ||
- 'cloud-runner-rclone-core' | ||
steps: | ||
- name: Checkout (default) | ||
uses: actions/checkout@v2 | ||
|
@@ -77,7 +103,7 @@ jobs: | |
uses: debianmaster/[email protected] | ||
with: | ||
version: 'latest' | ||
- run: yarn run test --detectOpenHandles --forceExit --runInBand | ||
- run: yarn run test "${{ matrix.test }}" --detectOpenHandles --forceExit --runInBand | ||
timeout-minutes: 60 | ||
env: | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
|
@@ -97,6 +123,15 @@ jobs: | |
name: AWS Tests | ||
if: github.event.event_type != 'pull_request_target' | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
test: | ||
- 'cloud-runner-end2end-locking' | ||
- 'cloud-runner-end2end-caching' | ||
- 'cloud-runner-end2end-retaining' | ||
- 'cloud-runner-environment' | ||
- 'cloud-runner-s3-steps' | ||
steps: | ||
- name: Checkout (default) | ||
uses: actions/checkout@v2 | ||
|
@@ -109,7 +144,7 @@ jobs: | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-west-2 | ||
- run: yarn | ||
- run: yarn run test --detectOpenHandles --forceExit --runInBand | ||
- run: yarn run test "${{ matrix.test }}" --detectOpenHandles --forceExit --runInBand | ||
timeout-minutes: 60 | ||
env: | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
|
@@ -126,6 +161,7 @@ jobs: | |
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
buildTargetTests: | ||
name: Local Build Target Tests | ||
runs-on: ubuntu-latest | ||
|