Skip to content

📝 (README.md): add Traefik as reverse proxy in the feature list #5

📝 (README.md): add Traefik as reverse proxy in the feature list

📝 (README.md): add Traefik as reverse proxy in the feature list #5

Workflow file for this run

name: Coverage
on:
push:
branches:
- master
jobs:
coverage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install Poetry
uses: abatilo/actions-poetry@v2
- name: Setup a local virtual environment
working-directory: ./backend
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- uses: actions/cache@v3
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./backend/.venv
key: venv-${{ hashFiles('backend/poetry.lock') }}
- name: Install dependencies
working-directory: ./backend
run: poetry install --all-extras --no-root
- name: Run tests and collect coverage
working-directory: ./backend
run: poetry run pytest --cov=app --cov-report=xml
- name: Upload coverage raports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}