Skip to content

Commit cd289dc

Browse files
authored
Merge pull request #575 from fpgmaas/deptry
Fix dependency issues and add `deptry` to CI/CD pipeline
2 parents ceb74ae + 9052957 commit cd289dc

File tree

4 files changed

+299
-252
lines changed

4 files changed

+299
-252
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: timeout 10s poetry run pip --version || rm -rf .venv
4141

4242
- name: Install dependencies
43-
run: poetry install -E docs
43+
run: poetry install --with docs
4444

4545
- name: Build documentation
4646
run: |

.github/workflows/python-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: timeout 10s poetry run pip --version || rm -rf .venv
4949

5050
- name: Install dependencies
51-
run: poetry install
51+
run: poetry install --all-extras
5252

5353
- name: Test
5454
env:
@@ -57,6 +57,10 @@ jobs:
5757

5858
- name: Static type check
5959
run: poetry run mypy
60+
61+
- name: Check dependencies
62+
run: poetry run deptry .
63+
if: ${{ matrix.python-version != '3.7' }}
6064

6165
- name: Upload coverage
6266
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)