cleanup & retained mode test for k8s and aws
parent
6739f62603
commit
1e34c6f5d6
|
|
@ -8,8 +8,36 @@ on:
|
||||||
# - '.github/**'
|
# - '.github/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
localCiPipeline:
|
integrationTests:
|
||||||
name: CI Pipeline - Local Stage
|
name: Integration Tests
|
||||||
|
if: github.event.event_type != 'pull_request_target'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
cloudRunnerCluster:
|
||||||
|
- local-docker
|
||||||
|
targetPlatform:
|
||||||
|
- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
||||||
|
# steps
|
||||||
|
steps:
|
||||||
|
- name: Checkout (default)
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
- run: yarn
|
||||||
|
- run: yarn run cli --help
|
||||||
|
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
||||||
|
env:
|
||||||
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
|
PROJECT_PATH: ${{ matrix.projectPath }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
TARGET_PLATFORM: ${{ matrix.targetPlatform }}
|
||||||
|
cloudRunnerTests: true
|
||||||
|
versioning: None
|
||||||
|
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
||||||
|
buildTests:
|
||||||
|
name: Build Tests
|
||||||
if: github.event.event_type != 'pull_request_target'
|
if: github.event.event_type != 'pull_request_target'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -36,8 +64,6 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- run: yarn
|
|
||||||
- run: yarn run cli --help
|
|
||||||
- uses: ./
|
- uses: ./
|
||||||
id: unity-build
|
id: unity-build
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
|
|
@ -68,12 +94,3 @@ jobs:
|
||||||
name: AWS Build (${{ matrix.targetPlatform }})
|
name: AWS Build (${{ matrix.targetPlatform }})
|
||||||
path: build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
path: build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
TARGET_PLATFORM: ${{ matrix.targetPlatform }}
|
|
||||||
cloudRunnerTests: true
|
|
||||||
versioning: None
|
|
||||||
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ jobs:
|
||||||
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
||||||
|
|
||||||
buildTargetTests:
|
buildTargetTests:
|
||||||
name: Build Target Tests (Local Only)
|
name: Build Tests - Targets
|
||||||
if: github.event.event_type != 'pull_request_target'
|
if: github.event.event_type != 'pull_request_target'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -144,7 +144,7 @@ jobs:
|
||||||
path: build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
path: build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
buildTests:
|
buildTests:
|
||||||
name: Cloud Provider Build Tests
|
name: Build Tests - Providers
|
||||||
if: github.event.event_type != 'pull_request_target'
|
if: github.event.event_type != 'pull_request_target'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue