Skip to content

Commit

Permalink
Add deptry workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Jun 13, 2024
1 parent 68e52b2 commit 8dd9d3a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deptry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: deptry

on:
pull_request:
push:
branches: [main]

jobs:
deptry:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -leo pipefail {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: "latest" # any version from https://github.com/mamba-org/micromamba-releases
environment-file: environment.yml
init-shell: bash
cache-environment: true
post-cleanup: "all"
- name: Install pytensor and mypy dependencies
run: |
pip install -e .
python --version
shell: micromamba-shell {0}
- name: Run deptry
run: |
deptry .
shell: micromamba-shell {0}

0 comments on commit 8dd9d3a

Please sign in to comment.