diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5416e45a414..7e8f2ee5499 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,13 +49,19 @@ jobs: spec: packages/${{ matrix.spec }} install: false + - uses: actions/github-script@v7 + id: transform-path + with: + script: return "${{ matrix.spec }}".replaceAll("/", "-") + result-encoding: string + - uses: coverallsapp/github-action@v2.3.6 if: ${{ inputs.reportCoverage && matrix.react == '19' }} with: file: temp/cypress-coverage/lcov.info github-token: ${{ secrets.GITHUB_TOKEN }} parallel: true - flag-name: ${{ matrix.spec }} + flag-name: ${{ steps.transform-path.outputs.result }} coveralls: if: ${{ always() && inputs.reportCoverage }} @@ -68,4 +74,4 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true - carryforward: 'base,charts,cypress-commands,main/src/components,main/src/internal' + carryforward: 'base,charts,cypress-commands,main-src-components,main-src-internal,compat' diff --git a/cypress.config.ts b/cypress.config.ts index 6f2f0e433ed..aed12c5249b 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -14,7 +14,8 @@ export default defineConfig({ 'packages/*/src/index.ts', 'packages/main/src/components/AnalyticalTable/types/*', 'packages/main/src/webComponents/**', - 'packages/charts/src/resources/**' + 'packages/charts/src/resources/**', + '**/dist/**' ] } }, @@ -26,7 +27,8 @@ export default defineConfig({ devServer: { framework: 'react', bundler: 'vite' - } + }, + excludeSpecPattern: '**/e2e/**' }, includeShadowDom: true, viewportWidth: 1920,