-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add build and test ci for benchmark changes
Signed-off-by: Rishabh Singh <[email protected]>
- Loading branch information
1 parent
b58620f
commit be602a2
Showing
3 changed files
with
1,248 additions
and
857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Benchmark Control Plane Build and Test | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- benchmark-control-plane/** | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: benchmark-control-plane/infra | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.x | ||
|
||
- name: Run CDK Build and Test | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Run test coverage | ||
run: | | ||
npm test -- --coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 |
Oops, something went wrong.