From cde34841a0bcdd3c1e4d3dc48c63bc06d3fa3439 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 6 May 2022 20:04:34 -0600 Subject: [PATCH] devops: upload installation tests to flakienss dashboard (#14007) --- .github/workflows/tests_primary.yml | 3 +++ tests/installation/playwright.config.ts | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml index 4d52c480a6..188251d973 100644 --- a/.github/workflows/tests_primary.yml +++ b/.github/workflows/tests_primary.yml @@ -196,3 +196,6 @@ jobs: if: matrix.os != 'ubuntu-latest' - run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run itest if: matrix.os == 'ubuntu-latest' + - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json + if: always() + shell: bash diff --git a/tests/installation/playwright.config.ts b/tests/installation/playwright.config.ts index 62f0a8348c..7906ad7b00 100644 --- a/tests/installation/playwright.config.ts +++ b/tests/installation/playwright.config.ts @@ -27,6 +27,14 @@ const config: PlaywrightTestConfig = { reporter: process.env.CI ? 'dot' : [['list'], ['html', { open: 'on-failure' }]], forbidOnly: !!process.env.CI, workers: 1, + projects: [ + { + name: 'installation tests', + metadata: { + nodejsVersion: process.version, + }, + }, + ], }; export default config;