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: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ root = true
end_of_line = lf
indent_style = space
indent_size = 4
charset = utf-8
charset = utf-8
14 changes: 8 additions & 6 deletions .github/scripts/build-preview-urls-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,17 @@ export const buildPreviewURLComment = (prNumber) => {
- [High Contrast Mode | Medium | LTR](${hcmUrl})`);

// Documentation and Storybook URLs
const docsUrl = `${baseUrl}/${prHash}/docs/`;
const storybookUrl = `${baseUrl}/${prHash}/docs/storybook/`;
const docsFirstGenUrl = `${baseUrl}/${prHash}/docs/first-gen-docs/`;
const storybookFirstGenUrl = `${baseUrl}/${prHash}/docs/first-gen-storybook/`;
const storybookSecondGenUrl = `${baseUrl}/${prHash}/docs/second-gen-storybook/`;

let comment = `## 📚 Branch Preview
let comment = `## 📚 Branch Preview Links

- [Documentation Site](${docsUrl})
- [Storybook](${storybookUrl})
- [Documentation Site (first-gen)](${docsFirstGenUrl})
- [Storybook (first-gen)](${storybookFirstGenUrl})
- [Storybook (second-gen)](${storybookSecondGenUrl})

<h3><strong>🔍 Visual Regression Test Results</strong></h3>
<h3><strong>🔍 First Generation Visual Regression Test Results</strong></h3>

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
name: Coveralls Code Coverage

on:
push:
branches:
- main
pull_request:
branches:
- main
push:
branches:
- main
pull_request:
branches:
- main

jobs:
code-coverage-report:
name: Generate and upload coverage report
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
code-coverage-report:
name: Generate and upload coverage report
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v4

- name: Setup Job and Install Dependencies
uses: ./.github/actions/setup-job
- name: Setup Job and Install Dependencies
uses: ./.github/actions/setup-job

- name: Install Playwright
run: cd 1st-gen && yarn playwright install --with-deps
- name: Install Playwright
run: cd 1st-gen && yarn playwright install --with-deps

- name: Run unit tests with coverage
run: cd 1st-gen && yarn test:ci --config web-test-runner.config.ci-chromium.js --group coveralls-ci --coverage
continue-on-error: true
- name: Run unit tests with coverage
run: cd 1st-gen && yarn test:ci --config web-test-runner.config.ci-chromium.js --group coveralls-ci --coverage
continue-on-error: true

- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
allow-empty: true
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
allow-empty: true
Loading
Loading