36 lines
672 B
YAML
36 lines
672 B
YAML
|
pipeline:
|
||
|
flake8:
|
||
|
group: lint
|
||
|
image: python:3.9
|
||
|
commands:
|
||
|
- pip3 install flake8
|
||
|
- flake8 glowtables/
|
||
|
pylint:
|
||
|
group: lint
|
||
|
image: cytopia/pylint
|
||
|
commands:
|
||
|
- pylint glowtables/
|
||
|
|
||
|
black:
|
||
|
group: lint
|
||
|
image: pyfound/black:22.8.0
|
||
|
commands:
|
||
|
- black --check glowtables/
|
||
|
|
||
|
test-py3.9:
|
||
|
group: test
|
||
|
image: python:3.9
|
||
|
commands: &test_commands
|
||
|
- apt-get update
|
||
|
- pip3 install mypy .[testing]
|
||
|
- make mypy
|
||
|
- make pytest
|
||
|
test-py3.10:
|
||
|
group: test
|
||
|
image: python:3.10
|
||
|
commands: *test_commands
|
||
|
test-py3.11:
|
||
|
group: test
|
||
|
image: python:3.11
|
||
|
commands: *test_commands
|