Rewrite Visualisation #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deptry Dependency Check | |
| on: [pull_request] | |
| jobs: | |
| dependencies: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Setup the minimum required python distribution | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| # Install deptry | |
| - run: pip install deptry | |
| # Remove testing related packages | |
| - run: sed -e '/hypothesis*/d' -e '/pytest*/d' -i requirements.txt | |
| # Install all other packages | |
| - run: pip install -r requirements.txt | |
| # Remove pyproject.toml so that deptry doesn't get confused | |
| - run: rm pyproject.toml | |
| # Remove the pytest modules because they are for testing only. | |
| - run: sed -i -e '/pytest/d' -e '/hypothesis/d' -e '/diffimg/d' requirements.txt | |
| # Install requirements | |
| - run: pip install -r requirements.txt | |
| # Run deptry to check that all dependencies are present. | |
| - run: deptry . |