-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5622b87
commit b07c3d9
Showing
2 changed files
with
21 additions
and
5 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 |
---|---|---|
@@ -1,16 +1,31 @@ | ||
name: Regression Testing | ||
name: CI Testing & Coverage | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
e2e: | ||
coverage: | ||
permissions: | ||
checks: write | ||
pull-requests: write | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Branch | ||
uses: actions/checkout@v4 | ||
- name: Determine PR Number | ||
uses: jwalton/gh-find-current-pr@v1 | ||
id: findPr | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Execute Tests | ||
run: npm test | ||
- name: Execute UTs | ||
run: npm run test-ci | ||
- name: Report Coverage | ||
uses: ArtiomTr/jest-coverage-report-action@v2 | ||
with: | ||
annotations: none | ||
custom-title: CI Testing Coverage | ||
prnumber: ${{ steps.findPr.outputs.number }} | ||
test-script: npm run test:ci | ||
|
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