Skip to content

chore(deps): Bump the github-actions-dependencies group with 3 updates #471

chore(deps): Bump the github-actions-dependencies group with 3 updates

chore(deps): Bump the github-actions-dependencies group with 3 updates #471

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Check out the commit
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ~${{ matrix.version }}
- name: Install development dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install \
-r requirements.txt \
-r doc/requirements.txt \
-r test/requirements.txt
- name: Test install
run: python3 -m pip install .
- name: Test with pytest
run: python3 -m pytest --cov=staged_script example/ test/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Check documentation spelling
run: make spelling
working-directory: ./doc
- name: Check documentation coverage
run: |
make coverage
mv build/coverage/python.txt ../docs-coverage-report-${{ matrix.version }}.txt
working-directory: ./doc
- name: Archive documentation coverage results
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: docs-coverage-report-${{ matrix.version }}
path: docs-coverage-report-${{ matrix.version }}.txt
- name: Test uninstall
run: python3 -m pip uninstall -y reverse_argparse
commits:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Conventional Commits
uses: taskmedia/action-conventional-commits@a708bda25c04fc82b2acd5eeeb88d97f9a19beb9 # v1.1.20
with:
types: >
build|chore|ci|docs|feat|fix|minor|patch|perf|style|refactor|test