Upgrade Qiskit & Django #430
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: Styles check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 2 | |
matrix: | |
python-version: [3.9, '3.10'] | |
folder: ["client", "api_server"] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Run lint check | |
env: | |
FOLDER: ${{ matrix.folder }} | |
run: tox -elint | |
- name: Run black check | |
env: | |
FOLDER: ${{ matrix.folder }} | |
run: tox -eblack |