Fixed pytest coverage report project name bug
This commit is contained in:
parent
026624db35
commit
d70aee8b10
@ -2,7 +2,7 @@ name: CI/CD Pipeline
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: ['**']
|
||||||
tags: ['v*']
|
tags: ['v*']
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
@ -27,8 +27,7 @@ jobs:
|
|||||||
run: poetry run ruff check .
|
run: poetry run ruff check .
|
||||||
|
|
||||||
- name: Run Tests with Coverage
|
- name: Run Tests with Coverage
|
||||||
run: poetry run pytest --cov=my_project --cov-report=term-missing --cov-fail-under=80
|
run: poetry run pytest --cov --cov-report=term-missing --cov-fail-under=80
|
||||||
|
|
||||||
publish-container:
|
publish-container:
|
||||||
needs: test-and-lint
|
needs: test-and-lint
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user