Skip to content

Merge pull request #18 from pelotoncycle/terry.EDE-1284.fix_depend_on… #148

Merge pull request #18 from pelotoncycle/terry.EDE-1284.fix_depend_on…

Merge pull request #18 from pelotoncycle/terry.EDE-1284.fix_depend_on… #148

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
python: ['3.7', '3.8', '3.9', '3.10']
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
make setup-dev
make venv
venv/bin/python3 -m pip install tox-gh-actions
env:
SLUGIFY_USES_TEXT_UNIDECODE: yes
- name: Check formatting with black
run: make fmt-check
- name: Lint with pylint
run: make lint
- name: Test with tox
run: make test
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml