Skip to content

Update sphinx-rtd-theme to 3.0.0 #150

Update sphinx-rtd-theme to 3.0.0

Update sphinx-rtd-theme to 3.0.0 #150

Workflow file for this run

name: Unit Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
tests:
runs-on: "ubuntu-latest"
name: "Unit test for Python ${{ matrix.python-version }}"
env:
USING_COVERAGE: '3.12'
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
run: |
pip install poetry
poetry install
- name: "Run tox targets for ${{ matrix.python-version }}"
run: "make tox"
- name: "Get coverage"
run: |
set -xe
pip install coverage
coverage combine
coverage xml
if: "contains(env.USING_COVERAGE, matrix.python-version)"
- name: Upload coverage to Codecov
if: "contains(env.USING_COVERAGE, matrix.python-version)"
uses: "codecov/codecov-action@v1"