Skip to content

✨ Add our naming standards for workflow files to the README.md #31

✨ Add our naming standards for workflow files to the README.md

✨ Add our naming standards for workflow files to the README.md #31

Workflow file for this run

name: ♻️ Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
sonarcloud:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install coverage
- name: Run Unit Tests
run: coverage run -m unittest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}