Skip to content

Commit a358efd

Browse files
committed
docs: readme
1 parent 3143e05 commit a358efd

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,40 @@
11
# webcontainer-ecosystem-ci
2-
WebContainer Ecosystem CI
2+
3+
This repository is used to run tests for WebContainer ecosystem projects
4+
5+
## Github workflow
6+
7+
### Scheduled
8+
9+
Workflows are sheduled to run automatically every Monday, Wednesday and Friday.
10+
11+
### Manually
12+
13+
- open [workflow](../../actions/workflows/ecosystem-ci.yml)
14+
- click 'Run workflow' button on top right of the list
15+
- select suite to run in dropdown
16+
- start workflow
17+
18+
### Shell script
19+
20+
- clone this repo
21+
- run `pnpm i`
22+
- run `pnpm test` to run all suites
23+
- or `pnpm test <suitename>` to select a suite
24+
- or `tsx ecosystem-ci.ts`
25+
26+
You can pass `--release <version>` to select a specific `@webcontainer/api` version to use.
27+
28+
The repositories are checked out into `workspace` subdirectory as shallow clones
29+
30+
## How to add a new integration test
31+
32+
- check out the existing [tests](./tests) and add one yourself. Thanks to some utilities it is really easy
33+
- once you are confidente the suite works, add it to the lists of suites in the [workflows](../../actions/)
34+
35+
## Credits
36+
37+
This project is inspired and based on:
38+
39+
- https://github.com/vitest-dev/vitest-ecosystem-ci
40+
- https://github.com/vitejs/vite-ecosystem-ci

0 commit comments

Comments
 (0)