First round of reviews for release 29 #5590
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: CI (base) | |
on: | |
push: | |
pull_request: | |
defaults: | |
run: | |
shell: sh -ex {0} | |
jobs: | |
lint-and-style: | |
name: Static Analysis | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy install tox | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Formatting | |
run: tox -e black -e isort | |
- name: Style | |
run: tox -e flake8 | |
- name: Mypy | |
run: tox -e mypy | |
- name: Version Consistency | |
run: python3 ./tools/check-versions-are-consistent.py | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy install tox | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Unit | |
run: tox -e test |