Files
whisperbox-transcribe/.github/workflows/ci.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 14: cannot unmarshal !!str `pip ins...` into model.Step line 15: cannot unmarshal !!str `black -...` into model.Step line 16: cannot unmarshal !!str `isort -...` into model.Step line 17: cannot unmarshal !!str `mypy app` into model.Step line 18: cannot unmarshal !!str `flake8 app` into model.Step line 28: cannot unmarshal !!str `pip ins...` into model.Step line 29: cannot unmarshal !!str `mypy app` into model.Step line 30: cannot unmarshal !!str `flake8 app` into model.Step line 40: cannot unmarshal !!str `pip ins...` into model.Step line 41: cannot unmarshal !!str `pytest` into model.Step
2022-12-27 11:35:08 +01:00

42 lines
861 B
YAML

name: CI
on: push
jobs:
fmt:
runs-on: ubuntu-latest
name: Fmt
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- pip install -e .[dev]
- black --check app
- isort --check app
- mypy app
- flake8 app
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- pip install -e .[dev]
- mypy app
- flake8 app
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- pip install -e .[dev]
- pytest