Fix signature zooming in linux #16
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: Testing | |
on: [ push ] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install poetry | |
uses: snok/install-poetry@d45b6d76012debf457ab49dffc7fb7b2efe8071d # v1.3.3 | |
with: | |
virtualenvs-create: true | |
- name: Install dependencies | |
run: poetry install --no-interaction --no-root | |
- name: Run format check | |
run: | | |
set -o pipefail | |
poetry run poe format-check | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install poetry | |
uses: snok/install-poetry@d45b6d76012debf457ab49dffc7fb7b2efe8071d # v1.3.3 | |
with: | |
virtualenvs-create: true | |
- name: Install dependencies | |
run: poetry install --no-interaction --no-root | |
- name: Run mypy | |
run: | | |
set -o pipefail | |
poetry run poe mypy | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install poetry | |
uses: snok/install-poetry@d45b6d76012debf457ab49dffc7fb7b2efe8071d # v1.3.3 | |
with: | |
virtualenvs-create: true | |
- name: Install dependencies | |
run: poetry install --no-interaction --no-root | |
- name: Run ruff | |
run: | | |
set -o pipefail | |
poetry run poe ruff | |
test: | |
needs: [ format, mypy, ruff ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install poetry | |
uses: snok/install-poetry@d45b6d76012debf457ab49dffc7fb7b2efe8071d # v1.3.3 | |
with: | |
virtualenvs-create: true | |
- name: Install dependencies | |
run: poetry install --no-interaction --no-root | |
- name: Run unit tests | |
run: | | |
set -o pipefail | |
poetry run poe test |