Skip to content

fix: update dependency interrogate to v1.7.0 #545

fix: update dependency interrogate to v1.7.0

fix: update dependency interrogate to v1.7.0 #545

Workflow file for this run

---
name: Python Tests
on:
pull_request:
branches:
- main
paths:
- src/**
- test/**
- pyproject.toml
- poetry.lock
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
if: ${{ ! contains(github.repository, 'template') }}
strategy:
matrix:
py:
- '3.11'
- '3.10'
- '3.9'
os:
- ubuntu-latest
- macos-latest
name: >
${{ matrix.os }} | py-${{ matrix.py }}
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
files.pythonhosted.org:443
github.com:443
pypi.org:443
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Dependencies
uses: ./.github/actions/setup-poetry
with:
python-version: ${{ matrix.py }}
flags: --only test,main
key: test
- name: Run Python tests
uses: ./.github/actions/python-test
with:
coverage-name: ${{ matrix.os }}-py-${{ matrix.py }}-coverage
test-report-name: ${{ matrix.os }}-py-${{ matrix.py }}-tests
coverage:
needs: tests
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
files.pythonhosted.org:443
github.com:443
pypi.org:443
- name: Check out repository code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Dependencies
uses: ./.github/actions/setup-poetry
- name: Upload combined coverage
uses: ./.github/actions/python-coverage