Skip to content

chore(deps-dev): Bump pytest from 8.3.3 to 8.3.4 #379

chore(deps-dev): Bump pytest from 8.3.3 to 8.3.4

chore(deps-dev): Bump pytest from 8.3.3 to 8.3.4 #379

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
id-token: write
contents: write
jobs:
Quality:
strategy:
fail-fast: true
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.8.2
- name: Configure poetry
shell: bash
run: python -m poetry config virtualenvs.in-project true
- name: View poetry version
run: poetry --version
- name: Install dependencies
run: |
python -m poetry install
- name: Run check
run: make test
- name: Run complexity baseline
run: make complexity
Release:
needs: Quality
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Check if PyPi release required
id: has-dist-folder
run: |-
if [ -d ./dist/ ]; then
echo "folder_exists=true" >> $GITHUB_OUTPUT
else
echo "folder_exists=false" >> $GITHUB_OUTPUT
fi
- name: Publish package distributions to PyPI
if: steps.has-dist-folder.outputs.folder_exists == 'true'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}