chore(deps): bump python-semantic-release/python-semantic-release from 8.3.0 to 9.15.1 #454
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Ensure latest setuptools | |
run: | | |
python -m pip install --upgrade pip setuptools | |
- name: Install dependencies | |
run: pip install tox | |
- name: Run Tox | |
run: python -m tox -f py$(python --version 2>&1 | awk '{split($2, a, "."); print a[1]a[2]}') | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
cache: "poetry" | |
- name: Install dependencies | |
run: poetry install | |
- name: Run black | |
run: poetry run ruff check . | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
cache: "poetry" | |
- name: Install dependencies | |
run: poetry install | |
- name: Run black | |
run: poetry run black --check . | |
gitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Install gitlint | |
run: pip install gitlint | |
- name: Run gitlint | |
run: gitlint --contrib contrib-title-conventional-commits --ignore B1,B5,B6 | |