Skip to content

Commit

Permalink
add ci for example
Browse files Browse the repository at this point in the history
Signed-off-by: Erick Wendel <[email protected]>
  • Loading branch information
ErickWendel committed Jun 10, 2024
1 parent 6b46466 commit 7f38734
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
cd ./app
npm ci
- name: Run tests
run: |
cd ./test-runner
npm test
- name: Run tests
run: |
cd ./app
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

![](./demo.png)

CI on an working project
![](./demo2.png)

Todo:
- add feature so before and beforeEach executes inside sub suites
- fix log
Binary file added demo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,20 @@
"bin": {
"ew-test-runner": "./bin/index.js"
},
"exports": {
"ew-test-runner-module": "./module/index.js"
},
"scripts": {
"start": "ew-test-runner --test tests",
"start": "node ./bin/index.js --test tests",
"test": "node ./bin/index.js --test tests",
"test:debug": "node --inspect --watch bin/index.js --test tests"
},
"keywords": [],
"author": "erickwendel",
"license": "ISC",
"type": "module",
"engines": {
"node": "v18.17.0"
"node": "v20.14.0"
},
"directories": {
"test": "tests"
},
"description": ""
}
}

0 comments on commit 7f38734

Please sign in to comment.