bump black #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install | |
shell: bash -l {0} | |
run: pip install -r requirements.txt | |
- name: Lint | |
shell: bash -l {0} | |
run: | | |
black --check otbenchmark --config pyproject.toml | |
flake8 otbenchmark | |
black-nb --check examples | |
black-nb --check examples-on-server | |
make html -C doc | |
- name: Test | |
shell: bash -l {0} | |
run: | | |
pip install . | |
cd tests && bash run-all.sh && cd - |