Skip to content

Commit 97a00ce

Browse files
committed
Another shot at fixing coverage
1 parent 5dae3b6 commit 97a00ce

File tree

4 files changed

+2507
-2477
lines changed

4 files changed

+2507
-2477
lines changed

.github/workflows/qa.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
5656
coverage:
5757
name: Coverage report (llvm-cov)
58-
runs-on: macos-latest
58+
runs-on: ubuntu-latest
5959

6060
steps:
6161
- name: Checkout code (with LFS because pngs for visual regression are saved there)
@@ -95,7 +95,8 @@ jobs:
9595
COVERAGE: 1
9696
SKIP_BUILD: 1
9797
run: |
98-
source <(cargo llvm-cov show-env --export-prefix)
98+
set -e
99+
eval "$(cargo llvm-cov show-env --export-prefix)"
99100
cargo llvm-cov clean --workspace
100101
cargo build --workspace
101102
cd frontend && npx playwright test && cd ..

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ coverage:
7474
set -e
7575
export COVERAGE=1
7676
export SKIP_BUILD=1
77-
source <(cargo llvm-cov show-env --export-prefix)
77+
eval "$(cargo llvm-cov show-env --export-prefix)"
7878
cargo llvm-cov clean --workspace
7979
cargo build --workspace
8080
cd frontend && npx playwright test && cd ..

frontend/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineConfig({
2626
reporter: [[process.env['CI'] ? 'github' : 'list'], ['html']],
2727
use: {
2828
// Compute a per-worker baseURL so multiple workers can run parallel backends.
29-
baseURL: `http://127.0.0.1:${8081 + Number(process.env['TEST_PARALLEL_INDEX'] ?? process.env['TEST_WORKER_INDEX'] ?? '0')}`,
29+
baseURL: `http://127.0.0.1:${8083 + Number(process.env['TEST_PARALLEL_INDEX'] ?? process.env['TEST_WORKER_INDEX'] ?? '0')}`,
3030
trace: 'on',
3131
ignoreHTTPSErrors: true,
3232
// Explicitly use Playwright's Chromium browser so projects don't try to use a system Chrome

0 commit comments

Comments
 (0)