Skip to content

Update dependency sphinx to v8 #114

Update dependency sphinx to v8

Update dependency sphinx to v8 #114

name: test_and_build
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
poetry lock
poetry install
- name: Check codestyle
run: pre-commit run --all
- name: Run tests
run: bash run_tests.sh
- name: Build package
run: poetry build