mirror of
https://github.com/kiegroup/git-backporting.git
synced 2025-04-24 20:32:14 +00:00
build: add test coverage workflow
This commit is contained in:
parent
8a007941d1
commit
9f6d7fb2c2
2 changed files with 17 additions and 1 deletions
15
.github/workflows/coverage.yml
vendored
Normal file
15
.github/workflows/coverage.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: 'test coverage on pull request'
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
coverage:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: ArtiomTr/jest-coverage-report-action@v2
|
||||||
|
with:
|
||||||
|
test-script: npm test --
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,6 +6,7 @@ test/**/_temp/**/*
|
||||||
yarn.lock
|
yarn.lock
|
||||||
coverage/
|
coverage/
|
||||||
test-report.xml
|
test-report.xml
|
||||||
|
report.json
|
||||||
.idea/
|
.idea/
|
||||||
.vscode/
|
.vscode/
|
||||||
build/
|
build/
|
||||||
|
|
Loading…
Add table
Reference in a new issue