Skip to content

add a narrow dependency group for testing in CI #10

add a narrow dependency group for testing in CI

add a narrow dependency group for testing in CI #10

Workflow file for this run

name: dependency-check
on:
pull_request:
push:
branches: [main]
jobs:
dependency-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: cache poetry
uses: actions/cache@v4
with:
path: ~/.local
key: ${{ runner.os }}-poetry
- name: install poetry
run: pip install poetry
- name: install package
run: poetry install --with docs,test
- name: run deptry
run: |
poetry run deptry . --per-rule-ignores "DEP001=pyrenew,DEP003=pytest"