Skip to content

feat: add pull request template #44

feat: add pull request template

feat: add pull request template #44

Workflow file for this run

name: Unit Test With Coverage
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_run:
workflows: ["Unit Test"]
types:
- completed
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python V3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make devtools
- name: Run Unit Tests with Coverage
run: |
coverage run -m unittest discover tests
coverage report
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml