Skip to content

build(deps): Bump sphinx from 7.3.7 to 7.4.7 #555

build(deps): Bump sphinx from 7.3.7 to 7.4.7

build(deps): Bump sphinx from 7.3.7 to 7.4.7 #555

Workflow file for this run

name: CI
on: [push]
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- uses: actions/cache@v3
id: cache
with:
path: |
.venv
.tox
key: tox-${{ runner.os }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: poetry install --no-root --sync
- name: flake8
run: poetry run tox -e flake8
- name: black
run: poetry run tox -e black
- name: isort
run: poetry run tox -e isort
- name: mypy
run: poetry run tox -e mypy
unittests:
needs: style
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- uses: actions/cache@v3
id: tox-cache
with:
path: |
.venv
.tox
key: tox-${{ matrix.os }}-python${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: poetry install --no-root --sync
- name: Unittests
run: poetry run -- tox -e ut -- --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v1