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
5 changes: 5 additions & 0 deletions .changeset/lockfile-scenarios-graded-projects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@systemfsoftware/stryker-js": none
---

Tests: the lockfile scenarios now run exactly the projects the repository grades, so the two cannot drift apart.
6 changes: 3 additions & 3 deletions .github/workflows/kill-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
projects:
description: Comma-separated projects to mutate, the dogfood corpus.
type: string
default: packages/stryker-js,packages/stryker-js-typescript-checker,packages/stryker-js-vitest-runner,test/e2e-core
default: packages/stryker-js,packages/stryker-js-typescript-checker,packages/stryker-js-vitest-runner
workflow_dispatch:
inputs:
projects:
description: Comma-separated projects to mutate, the dogfood corpus.
type: string
default: packages/stryker-js,packages/stryker-js-typescript-checker,packages/stryker-js-vitest-runner,test/e2e-core
default: packages/stryker-js,packages/stryker-js-typescript-checker,packages/stryker-js-vitest-runner

concurrency:
group: kill-matrix-${{ github.ref }}
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- id: key
name: Content key of the build
env:
KEY: mutation-build-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'turbo.json', 'packages/**', 'test/e2e-core/**') }}
KEY: mutation-build-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'turbo.json', 'packages/**') }}
run: echo "key=$KEY" >> "$GITHUB_OUTPUT"

- uses: pnpm/action-setup@v6
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ permissions:
env:
TARGET_SECONDS: 200
MAX_SHARDS: 20
PROJECTS: packages/stryker-js,packages/stryker-js-typescript-checker,packages/stryker-js-vitest-runner,test/e2e-core
PROJECTS: packages/stryker-js,packages/stryker-js-typescript-checker,packages/stryker-js-vitest-runner
PUBLISHED_CLI: ${{ github.workspace }}/packages/stryker-js/node_modules/.bin/stryker
PLAN: plan.json
INCREMENTAL_REPORTS: |
packages/stryker-js/reports/stryker-incremental.json
packages/stryker-js-typescript-checker/reports/stryker-incremental.json
packages/stryker-js-vitest-runner/reports/stryker-incremental.json
test/e2e-core/reports/stryker-incremental.json
BUDGET_BASELINE: .stryker/budget-baseline.json

jobs:
Expand All @@ -61,7 +60,7 @@ jobs:
- id: cache-key
name: Content key of the incremental report
env:
KEY: mutation-incremental-${{ hashFiles('pnpm-lock.yaml', 'pnpm-workspace.yaml', 'packages/**/src/**', 'packages/**/stryker.config.ts', 'test/e2e-core/src/**', 'test/e2e-core/stryker.config.ts') }}
KEY: mutation-incremental-${{ hashFiles('pnpm-lock.yaml', 'pnpm-workspace.yaml', 'packages/**/src/**', 'packages/**/stryker.config.ts') }}
run: echo "key=$KEY" >> "$GITHUB_OUTPUT"

- uses: pnpm/action-setup@v6
Expand Down Expand Up @@ -115,7 +114,7 @@ jobs:
- id: key
name: Content key of the build
env:
KEY: mutation-build-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'turbo.json', 'packages/**', 'test/e2e-core/**') }}
KEY: mutation-build-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'turbo.json', 'packages/**') }}
run: echo "key=$KEY" >> "$GITHUB_OUTPUT"

- uses: pnpm/action-setup@v6
Expand Down
Loading
Loading