Fix failings nightly #89
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: Lint | |
on: [push, pull_request] | |
jobs: | |
lint-black: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: "actions/checkout@v4" | |
- name: Setup Python | |
uses: "actions/setup-python@v2" | |
with: | |
python-version: "3.10" | |
- name: Black | |
uses: psf/black@stable | |
with: | |
options: "--line-length 79 --check --diff" | |
src: "./qutip_benchmark" | |
- name: Install dependencies | |
run: | | |
python -VV | |
python -m site | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install flake8 | |
python -m pip install flake8-github-actions | |
- name: "Run Flake8" | |
run: "flake8 qutip_benchmark --format github" |