Skip to content

fix(github): add CODECOV token #62

fix(github): add CODECOV token

fix(github): add CODECOV token #62

name: Code checks
on:
push:
branches: main
pull_request:
branches: main
jobs:
run-code-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9.x'
- name: Install system dependencies
run: pip3 install pipenv
- name: Cache Python packages
uses: actions/cache@v2
with:
path: ~/.local/share/virtualenvs/
key: ${{ runner.os }}-python-${{ hashFiles('**/Pipfile.lock') }}
- name: Install Python dependencies
run: pipenv install --dev
- name: Run type checking
run: make type
- name: Run lint tools
run: make lint