Skip to content

Commit

Permalink
feat: add codecov.io support
Browse files Browse the repository at this point in the history
  • Loading branch information
dym-ok committed Oct 25, 2023
1 parent da83f5e commit 4076a2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
uses: smg-real-estate/public-workflows/.github/workflows/poetry.yml@v1
with:
image_name: smgrealestate/python-cdk:python-3.10
poetry_scripts: '["poe lint-all", "poe test-unit"]'
home: /home/python
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poe.tasks]
test-unit = "python3 -m pytest --color=yes ./tests"
test-unit = "python3 -m pytest --color=yes --cov --cov-report xml ./tests"
format = "black ."
lint-all = "pre-commit run --all-files"

Expand Down

0 comments on commit 4076a2f

Please sign in to comment.