diff --git a/.github/workflows/cloud-runner-ci-pipeline.yml b/.github/workflows/cloud-runner-ci-pipeline.yml index e3b28e29..e90bc87b 100644 --- a/.github/workflows/cloud-runner-ci-pipeline.yml +++ b/.github/workflows/cloud-runner-ci-pipeline.yml @@ -31,44 +31,8 @@ env: USE_GKE_GCLOUD_AUTH_PLUGIN: true jobs: - smokeTests: - name: Smoke Tests - if: github.event.event_type != 'pull_request_target' - runs-on: ubuntu-latest - env: - GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - strategy: - fail-fast: false - matrix: - test: - - 'cloud-runner-caching' - - 'cloud-runner-environment' - - 'cloud-runner-hooks' - - 'cloud-runner-local-persistence' - - 'cloud-runner-locking-core' - - 'cloud-runner-locking-get-locked' - steps: - - name: Checkout (default) - uses: actions/checkout@v4 - with: - lfs: false - - run: yarn - - run: yarn run test "${{ matrix.test }}" --detectOpenHandles --forceExit --runInBand - timeout-minutes: 35 - env: - UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} - UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} - UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} - PROJECT_PATH: test-project - TARGET_PLATFORM: StandaloneWindows64 - cloudRunnerTests: true - versioning: None - CLOUD_RUNNER_CLUSTER: local-docker - GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - localTests: - name: Local Tests + tests: + name: Tests if: github.event.event_type != 'pull_request_target' runs-on: ubuntu-latest strategy: @@ -79,6 +43,12 @@ jobs: - 'cloud-runner-end2end-caching' - 'cloud-runner-end2end-retaining' - 'cloud-runner-remote-client' + - 'cloud-runner-caching' + - 'cloud-runner-environment' + - 'cloud-runner-hooks' + - 'cloud-runner-local-persistence' + - 'cloud-runner-locking-core' + - 'cloud-runner-locking-get-locked' steps: - name: Checkout (default) uses: actions/checkout@v4 @@ -108,13 +78,7 @@ jobs: GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # needs: - # - smokeTests - # - buildTargetTests k8sTests: - # needs: - # - smokeTests - # - buildTargetTests name: K8s Tests if: github.event.event_type != 'pull_request_target' runs-on: ubuntu-latest @@ -164,6 +128,7 @@ jobs: if: github.event.event_type != 'pull_request_target' runs-on: ubuntu-latest needs: + - tests - k8sTests strategy: fail-fast: false