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: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
os: ubuntu-latest
- suite: rsdoctor
os: ubuntu-latest
- suite: rspress
os: ubuntu-latest
fail-fast: false
runs-on: ${{ matrix.os }}
name: rstest (${{ matrix.suite }})
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rstest-ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
options:
- "-"
# - plugins
# - rspress
- rspress
- rslib
- rsbuild
- rsdoctor
Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
# os: ubuntu-latest
# - suite: plugins
# os: ubuntu-latest
# - suite: rspress
# os: ubuntu-latest
- suite: rspress
os: ubuntu-latest
- suite: rsbuild
os: ubuntu-latest
- suite: rslib
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rstest-ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ on:
options:
- "-"
- rslib
- rspress
- rsbuild
- rsdoctor
suiteRefType:
Expand Down Expand Up @@ -75,6 +76,8 @@ jobs:
include:
- suite: rslib
os: ubuntu-latest
- suite: rspress
os: ubuntu-latest
- suite: rsbuild
os: ubuntu-latest
- suite: rsdoctor
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rstest-ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ on:
options:
- "-"
# - plugins
# - rspress
- rspress
- rslib
- rsbuild
- rsdoctor
Expand Down Expand Up @@ -84,8 +84,8 @@ jobs:
include:
# - suite: plugins
# os: ubuntu-latest
# - suite: rspress
# os: ubuntu-latest
- suite: rspress
os: ubuntu-latest
- suite: rslib
os: ubuntu-latest
- suite: rsbuild
Expand Down
11 changes: 11 additions & 0 deletions tests/rstest/rspress.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import type { RunOptions } from '../../types';
import { runInRepo } from '../../utils';

export async function test(options: RunOptions) {
await runInRepo({
...options,
repo: 'web-infra-dev/rspress',
branch: process.env.RSPRESS ?? 'main',
test: ['test:unit'],
});
}
Loading