Compare commits
8 Commits
e69773fdd6
...
test--test
Author | SHA1 | Date | |
---|---|---|---|
ef6fe94634 | |||
e1c6f0d281 | |||
0a85c94b03 | |||
feef7c4cf1 | |||
e3acfe1a92 | |||
6c93091109 | |||
bf94c5b262 | |||
0fda82da7a |
6
.github/workflows/build_docker_astro.yml
vendored
6
.github/workflows/build_docker_astro.yml
vendored
@ -6,9 +6,9 @@ on: #declancheur
|
|||||||
- '*'
|
- '*'
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches:
|
# branches:
|
||||||
- master
|
# - master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run: #jobs ID (nom du jobs)
|
run: #jobs ID (nom du jobs)
|
||||||
|
6
.github/workflows/run_back_test.yml
vendored
6
.github/workflows/run_back_test.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
name: 'coverage'
|
name: Test and coverage
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- '*'
|
||||||
jobs:
|
jobs:
|
||||||
coverage:
|
coverage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -15,3 +15,5 @@ jobs:
|
|||||||
output: comment, report-markdown
|
output: comment, report-markdown
|
||||||
prnumber: ${{ steps.findPr.outputs.number }}
|
prnumber: ${{ steps.findPr.outputs.number }}
|
||||||
custom-title: Coverage report for backend
|
custom-title: Coverage report for backend
|
||||||
|
github-token: ${{ secrets.PR_TOCKEN}}
|
||||||
|
annotations: none #disable annotation
|
@ -11,4 +11,9 @@ module.exports = {
|
|||||||
'!/coverage/',
|
'!/coverage/',
|
||||||
'!**/server.ts',
|
'!**/server.ts',
|
||||||
],
|
],
|
||||||
|
coverageThreshold: {
|
||||||
|
global: {
|
||||||
|
lines: 80,
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
Reference in New Issue
Block a user