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 --
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -6,7 +6,8 @@ test/**/_temp/**/*
|
|||
yarn.lock
|
||||
coverage/
|
||||
test-report.xml
|
||||
report.json
|
||||
.idea/
|
||||
.vscode/
|
||||
build/
|
||||
# dist/
|
||||
# dist/
|
||||
|
|
Loading…
Add table
Reference in a new issue