Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .cursor/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"files.autoSave": "on",
"files.autoSaveWhen": "on",
"files.autoSaveDelay": 1000,

"editor.formatOnSave": false,
"editor.formatOnPaste": false,
"editor.formatOnType": false,

"editor.codeActionsOnSave": {},

"git.autorefresh": false,
"git.confirmSync": false,
"git.autofetch": false,

"editor.defaultFormatter": null
}

79 changes: 54 additions & 25 deletions .github/workflows/cloud-runner-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,13 @@ env:
USE_IL2CPP: false

jobs:
localstack-and-k8s:
name: Cloud Runner Tests (LocalStack + K8s)
k8s:
name: Cloud Runner Tests (K8s)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# Local Docker runs (fast path without cluster)
- test: 'cloud-runner-end2end-locking'
provider: local-docker
- test: 'cloud-runner-end2end-caching'
provider: local-docker
- test: 'cloud-runner-end2end-retaining'
provider: local-docker
- test: 'cloud-runner-caching'
provider: local-docker
- test: 'cloud-runner-environment'
provider: local-docker
- test: 'cloud-runner-image'
provider: local-docker
- test: 'cloud-runner-hooks'
provider: local-docker
- test: 'cloud-runner-local-persistence'
provider: local-docker
- test: 'cloud-runner-locking-core'
provider: local-docker
- test: 'cloud-runner-locking-get-locked'
provider: local-docker
# K8s runs (k3s)
- test: 'cloud-runner-end2end-caching'
provider: k8s
Expand Down Expand Up @@ -91,7 +70,6 @@ jobs:
- name: Start LocalStack (S3)
uses: localstack/setup-localstack@v0.2.3
with:
services: s3
install-awslocal: true
- name: Create S3 bucket for tests (host LocalStack)
run: |
Expand Down Expand Up @@ -124,10 +102,61 @@ jobs:
AWS_EC2_METADATA_DISABLED: 'true'
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
localstack:
name: Cloud Runner Tests (LocalStack)
runs-on: ubuntu-latest
services:
localstack:
image: localstack/localstack
ports:
- 4566:4566
env:
SERVICES: cloudformation,ecs,kinesis,cloudwatch,s3,logs
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:
- uses: actions/checkout@v4
with:
lfs: false
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn run test "${{ matrix.test }}" --detectOpenHandles --forceExit --runInBand
timeout-minutes: 60
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
KUBE_STORAGE_CLASS: local-path
PROVIDER_STRATEGY: aws
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_ENDPOINT: http://localhost:4566
AWS_ENDPOINT_URL: http://localhost:4566
GIT_PRIVATE_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
aws:
name: Cloud Runner Tests (AWS)
runs-on: ubuntu-latest
needs: [localstack-and-k8s]
needs: [k8s, localstack]
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/integrity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@ jobs:
uses: ./.github/workflows/cloud-runner-integrity.yml
secrets: inherit

cloud-runner-localstack:
name: Cloud Runner Integrity (LocalStack)
uses: ./.github/workflows/cloud-runner-integrity-localstack.yml
secrets: inherit
Loading
Loading