Skip to content

Products index

Products index #2

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install project dependencies
run: |
pip install poetry
poetry install
working-directory: ${{ github.workspace }}
- name: Run tests
run: |
poetry run coverage run -m unittest discover ./app/tests/
poetry run coverage report -m
working-directory: ${{ github.workspace }}
- name: Upload coverage report
uses: codecov/codecov-action@v2