Skip to content

fix(deps): update dependency sphinx-rtd-theme to v3.0.2 #1001

fix(deps): update dependency sphinx-rtd-theme to v3.0.2

fix(deps): update dependency sphinx-rtd-theme to v3.0.2 #1001

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
# Make sure commit messages follow the conventional commits convention:
# https://www.conventionalcommits.org
commitlint:
name: Lint commit messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6.1.2
test:
strategy:
fail-fast: false
matrix:
python-version:
- "3.12"
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
env:
OS: ${{ matrix.os }}
PYTHON_VERSION: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1.4.1
- name: Install dependencies
run: poetry install
shell: bash
- name: Test with PyTest
run: poetry run pytest --cov-report=xml
shell: bash
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS, PYTHON_VERSION
verbose: true
release:
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/project/aiolifx-themes/
if: github.ref == 'refs/heads/main'
concurrency: release
permissions:
id-token: write
contents: write
needs:
- test
- commitlint
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
uses: snok/install-poetry@v1.4.1
- name: Install dependencies using Poetry
run: poetry install
shell: bash
- name: Run Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v8.3.0
with:
github_token: ${{ secrets.GH_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true'
with:
verbose: true
print-hash: true
- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/upload-to-gh-release@main
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GH_TOKEN }}
tag: ${{ steps.release.outputs.tag }}