mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:37:30 +00:00
pipeline for forks
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -45,6 +45,10 @@ jobs:
|
|||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
- name: Set up Buildx
|
- name: Set up Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
# Only with correctly restored build cache layers, the run caches work as expected.
|
||||||
|
# To restore docker build layer caches, extend the docker-bake.hcl to use the cache-from and cache-to options.
|
||||||
|
# https://docs.docker.com/build/ci/github-actions/cache/
|
||||||
|
# Alternatively, you can use a self-hosted runner or a third-party builder that restores build layer caches out-of-the-box, like https://depot.dev/
|
||||||
- name: Restore Run Caches
|
- name: Restore Run Caches
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
id: run-caches-restore
|
id: run-caches-restore
|
||||||
|
@@ -60,8 +60,9 @@ pnpm test:acceptance:setup
|
|||||||
|
|
||||||
### Quality Assurance
|
### Quality Assurance
|
||||||
|
|
||||||
Use `make` commands to test the quality of your code without installing any dependencies besides Docker.
|
Use `make` commands to test the quality of your code against a production build without installing any dependencies besides Docker.
|
||||||
Using `make` commands, you can reproduce and debug the CI pipelines locally.
|
Using `make` commands, you can reproduce and debug the CI pipelines locally.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Reproduce the whole CI pipeline in docker
|
# Reproduce the whole CI pipeline in docker
|
||||||
make login-quality
|
make login-quality
|
||||||
|
@@ -21,7 +21,10 @@ export default defineConfig({
|
|||||||
timeout: 300 * 1000, // 5 minutes
|
timeout: 300 * 1000, // 5 minutes
|
||||||
globalTimeout: 30 * 60_000, // 30 minutes
|
globalTimeout: 30 * 60_000, // 30 minutes
|
||||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||||
reporter: [["line"], ["html", { open: process.env.CI ? "never" : "on-failure", host: "0.0.0.0", outputFolder: "./playwright-report/html" }]],
|
reporter: [
|
||||||
|
["line"],
|
||||||
|
["html", { open: process.env.CI ? "never" : "on-failure", host: "0.0.0.0", outputFolder: "./playwright-report/html" }],
|
||||||
|
],
|
||||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||||
use: {
|
use: {
|
||||||
/* Base URL to use in actions like `await page.goto('/')`. */
|
/* Base URL to use in actions like `await page.goto('/')`. */
|
||||||
|
Reference in New Issue
Block a user