This commit is contained in:
Elio Bischof
2025-07-24 14:03:54 +02:00
parent 6ae1db50ad
commit 33d08860bc
2 changed files with 37 additions and 2 deletions

View File

@@ -53,12 +53,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run lint and unit tests in dev container
- name: Set up pnpm caching
uses: actions/setup-node@v4
with:
cache: 'pnpm'
- name: Lint and Unit Test All JavaScript Code
uses: devcontainers/ci@v0.3
with:
push: never
configFile: .devcontainer/turbo-lint-unit/devcontainer.json
runCmd: echo "Successfully ran lint and unit tests in dev container postStartCommand"
runCmd: echo "Successfully ran postStartCommand"
core:
name: core

View File

@@ -0,0 +1,31 @@
name: Integration test core
on:
workflow_call:
inputs:
login_build_image:
required: true
type: string
jobs:
login-integration-test:
if: ${{ github.event_name == 'pull_request' }}
name: login-integration-test
runs-on: depot-ubuntu-22.04-8
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pnpm caching
uses: actions/setup-node@v4
with:
cache: 'pnpm'
- name: Run Integration Tests against the Login and a Mocked Zitadel API
uses: devcontainers/ci@v0.3
environment:
LOGIN_TAG: ${{ inputs.login_build_image }}
with:
push: never
configFile: .devcontainer/login-integration/devcontainer.json
runCmd: echo "Successfully ran postStartCommand"