1
0
mirror of synced 2024-12-04 19:17:55 +01:00
jubeatools/.github/workflows/ci.yml

27 lines
666 B
YAML
Raw Normal View History

2021-05-19 17:16:51 +02:00
name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install project
run: poetry install
- name: Code style
run: |
poetry run isort --check-only
poetry run black --check jubeatools
2021-05-19 17:16:51 +02:00
- name: Lint code
run: poetry run sh ./utils/check_code.sh
- name: Unit tests
run: poetry run pytest