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
3 changes: 3 additions & 0 deletions .github/workflows/rspress-ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ on:
- rsbuild
- rslib
- rspack
- rspress-plugins
- rstest
- rstack-cli
suiteRefType:
Expand Down Expand Up @@ -99,6 +100,8 @@ jobs:
os: ubuntu-latest
- suite: rspack
os: ubuntu-latest
- suite: rspress-plugins
os: ubuntu-latest
- suite: rstest
os: ubuntu-latest
- suite: rstack-cli
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rspress-ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on:
- rsbuild
- rslib
- rspack
- rspress-plugins
- rstest
- rstack-cli
suiteRefType:
Expand Down Expand Up @@ -96,6 +97,8 @@ jobs:
os: ubuntu-latest
- suite: rspack
os: ubuntu-latest
- suite: rspress-plugins
os: ubuntu-latest
- suite: rstest
os: ubuntu-latest
- suite: rstack-cli
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rspress-ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ on:
- rsbuild
- rslib
- rspack
- rspress-plugins
- rstest
- rstack-cli
suiteRefType:
Expand Down Expand Up @@ -102,6 +103,8 @@ jobs:
os: ubuntu-latest
- suite: rspack
os: ubuntu-latest
- suite: rspress-plugins
os: ubuntu-latest
- suite: rstest
os: ubuntu-latest
- suite: rstack-cli
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ The repositories are checked out into `workspace` subdirectory as shallow clones
- `pnpm test --stack rspack --release nightly <suite>`: run a nightly release of the selected stack
- `pnpm test --stack rsbuild --branch main --suite-branch update-rsbuild <suite>`: use `update-rsbuild` branch for the suite to test `main`
- `pnpm test --stack rspack modernjs` (rspack suites include modernjs, rspress, rsbuild, rslib, rstest, rsdoctor, examples, devserver, plugin, lynx-stack, \_selftest)
- `pnpm test --stack rspress rspress-plugins`: build Rspress and run the [Rspress plugins](https://github.com/rstackjs/rspress-plugins) package builds, documentation builds, unit tests, and Chromium E2E tests

# How to add a new integration test

Expand Down
15 changes: 15 additions & 0 deletions tests/rspress/rspress-plugins.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { RunOptions } from '../../types';
import { $, runInRepo } from '../../utils';

export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'rstackjs/rspress-plugins',
branch: process.env.RSPRESS_PLUGINS_REF ?? 'main',
build: 'build',
beforeTest: async () => {
await $`pnpm exec playwright install --with-deps chromium`;
},
test: ['docs:build', 'test', 'e2e'],
Comment thread
SoonIter marked this conversation as resolved.
});
}
Loading