Skip to content

Commit

Permalink
add build and test ci for benchmark changes
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Singh <[email protected]>
  • Loading branch information
rishabh6788 committed Sep 5, 2024
1 parent b58620f commit be602a2
Show file tree
Hide file tree
Showing 3 changed files with 1,248 additions and 857 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/benchmark-cp-build-test.yml
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
Loading

0 comments on commit be602a2

Please sign in to comment.