mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-25 02:57:09 +00:00
build(test): wire pnpm test to vitest, drop redundant test:vitest CI step
src/package.json: - test: was mocha --import=tsx --recursive ...; now `vitest run` (vitest.config already includes tests/backend/specs, tests/backend-new/specs, and tests/container/specs) - test-utils: vitest run with --testTimeout 5000 - test-container: vitest run tests/container/specs/api - test:vitest renamed to test:watch (watch mode for local dev) .github/workflows/backend-tests.yml: - removed the redundant 'Run the new vitest tests' step from all 4 jobs since pnpm test now runs vitest itself
This commit is contained in:
parent
42907a7cc4
commit
2a0bb2c62b
2 changed files with 4 additions and 16 deletions
12
.github/workflows/backend-tests.yml
vendored
12
.github/workflows/backend-tests.yml
vendored
|
|
@ -68,9 +68,6 @@ jobs:
|
|||
-
|
||||
name: Run the backend tests
|
||||
run: pnpm test
|
||||
- name: Run the new vitest tests
|
||||
working-directory: src
|
||||
run: pnpm run test:vitest
|
||||
|
||||
withpluginsLinux:
|
||||
env:
|
||||
|
|
@ -137,9 +134,6 @@ jobs:
|
|||
-
|
||||
name: Run the backend tests
|
||||
run: pnpm test
|
||||
- name: Run the new vitest tests
|
||||
working-directory: src
|
||||
run: pnpm run test:vitest
|
||||
|
||||
# Windows tests only run on push to develop/master, not on PRs
|
||||
withoutpluginsWindows:
|
||||
|
|
@ -189,9 +183,6 @@ jobs:
|
|||
name: Run the backend tests
|
||||
working-directory: src
|
||||
run: pnpm test
|
||||
- name: Run the new vitest tests
|
||||
working-directory: src
|
||||
run: pnpm run test:vitest
|
||||
|
||||
withpluginsWindows:
|
||||
env:
|
||||
|
|
@ -267,6 +258,3 @@ jobs:
|
|||
name: Run the backend tests
|
||||
working-directory: src
|
||||
run: pnpm test
|
||||
- name: Run the new vitest tests
|
||||
working-directory: src
|
||||
run: pnpm run test:vitest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue