File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed
Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments