fix: update python. #127
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: Tests runner | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python3 | |
cd /usr/local/bin | |
ln -s /opt/poetry/bin/poetry | |
poetry config virtualenvs.create false | |
- name: Install dependencies | |
run: poetry install | |
- name: Install nox dependencies | |
run: poetry run nox -s install | |
- name: Linting & mypy | |
run: poetry run nox -s linting | |
- name: Run tests | |
run: poetry run nox -s tests | |