Merge pull request #70 from aliassheikh/DD-1687-Vermeld-DEMO-of-PROD-… #275
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeCov | |
on: [ push, pull_request ] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHON: '3.9' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '2' | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
- name: Generate Report | |
run: | | |
pip install poetry | |
poetry install | |
poetry run coverage run -m pytest | |
poetry run coverage xml | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v3 |