Skip to content

Commit

Permalink
Adds a workflow to run the unit tests in CI on GitHub.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 469397176
  • Loading branch information
neuracr authored and copybara-github committed Aug 23, 2022
1 parent 0308b4c commit 114bea9
Show file tree
Hide file tree
Showing 2 changed files with 2,380 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: run-unit-tests
on:
pull_request:
branches:
- main
paths:
- 'src/**'
- 'test/**'
- 'integration_test/**'
jobs:
run_unit_tests:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: |
yarn install --frozen-lockfile
yarn test
Loading

0 comments on commit 114bea9

Please sign in to comment.