-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1477 from finos/fdc3-for-web-impl-base-coverage
Fdc3 for web impl base coverage
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 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,29 @@ | ||
name: Test coverage for main branch | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- fdc3-for-web-impl | ||
|
||
jobs: | ||
test_and_upload_coverage: | ||
runs-on: ubuntu-latest | ||
name: Test and upload coverage | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.ref }} | ||
fetch-depth: 1000 | ||
|
||
- name: Run tests | ||
run: | | ||
npm i | ||
npm run test | ||
- name: Upload coverage artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: test-coverage-output | ||
path: coverage |