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
2 changes: 0 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: Continuous Integration
on:
merge_group:
pull_request:
push:
branches: [main]
workflow_dispatch:

concurrency:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/wc-acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
HEAD_REF: ${{ github.head_ref }}
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: 20
node-version: 24.8.0
- run: npm ci
- run: npx playwright install --with-deps
- name: Wait for Codespace to be active
Expand Down Expand Up @@ -88,11 +88,13 @@ jobs:
GITHUB_USER: ${{ secrets.TEST_GITHUB_USER }}
GITHUB_PASSWORD: ${{ secrets.TEST_GITHUB_PASSWORD }}
GITHUB_TOTP_SECRET: ${{ secrets.TEST_GITHUB_TOTP_SECRET }}
PLAYWRIGHT_JUNIT_OUTPUT_NAME: ${{ github.workspace }}/test-report-acceptance-${{ inputs.flavor }}.xml
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: always()
with:
name: playwright-artifacts
name: test-results-acceptance-${{ inputs.flavor }}
path: |
test-report-*.xml
test-results/
retention-days: 10
- run: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/wc-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ jobs:
DOCKER_METADATA_SET_OUTPUT_ENV: false
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}-${{ inputs.flavor }}
# Generate Docker tags based on the following events/attributes
# Generate Docker tags based on the following events/attributes.
# To prevent unnecessary image builds we simulate the `type=edge` tag
# with `type=raw,value=edge,enable=...` which only enables the tag
# for a `merge_group` event, this removes the need to build on `push`.
tags: |
type=edge
type=raw,value=queue,enable=${{ github.event_name == 'merge_group' }}
type=raw,value=edge,enable=${{ github.event_name == 'merge_group' }}
type=ref,event=pr
type=semver,pattern={{raw}}
type=semver,pattern={{version}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wc-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ jobs:
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: always()
with:
name: test-results-${{ inputs.flavor }}-${{ inputs.runner }}
name: test-results-integration-${{ inputs.flavor }}-${{ inputs.runner }}
path: test-report-*.xml
4 changes: 2 additions & 2 deletions test/cpp/features/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, devices } from '@playwright/test';
import { defineBddConfig } from "playwright-bdd";
import { defineBddConfig } from 'playwright-bdd';
import path from 'path';

require('dotenv').config({ path: path.join(__dirname, '..', '..', '..', '.env') });
Expand All @@ -17,7 +17,7 @@ export default defineConfig({
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: 1,
reporter: 'list',
reporter: process.env.CI ? 'junit' : 'list',
use: {
trace: 'on-first-retry'
},
Expand Down
Loading