Skip to content

Bump isort from 5.12.0 to 5.13.0 #121

Bump isort from 5.12.0 to 5.13.0

Bump isort from 5.12.0 to 5.13.0 #121

Workflow file for this run

---
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- name: Installing dependencies
run: poetry install --no-interaction
- name: Run linters
run: |
poetry run pre-commit run --all --show-diff-on-failure --color=always
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Installing dependencies
run: poetry install --no-interaction
- name: Run tests
run: poetry run pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
files: ./coverage.xml
fail_ci_if_error: true
verbose: true