Skip to content

docs(project-docs): set up mkdocs, github actions and doc rendering #66

docs(project-docs): set up mkdocs, github actions and doc rendering

docs(project-docs): set up mkdocs, github actions and doc rendering #66

Workflow file for this run

name: Python App CI/CD
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
run: poetry run pytest --cov=. --cov-report=xml
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run linter
continue-on-error: true
run: |
poetry run flake8 .
- name: Run type checker
continue-on-error: true
run: |
poetry run mypy .
- name: Update dependencies
run: |
poetry update