From 9a02f89cbd420de4d2e30c460413202ba9a148a0 Mon Sep 17 00:00:00 2001 From: mrbean-bremen Date: Sun, 13 Jun 2021 10:50:56 +0200 Subject: [PATCH] Add step to find test dependencies - see #608 --- .github/workflows/pythonpackage.yml | 21 +++++++++++++++++++++ CHANGES.md | 3 +++ 2 files changed, 24 insertions(+) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index e2db8f47..7ffd920f 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -124,3 +124,24 @@ jobs: python -m pyfakefs.tests.performance_test fi shell: bash + + dependency-check: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-2016] + python-version: [3.9] + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install -r extra_requirements.txt + pip install pytest-find-dependencies + - name: Check dependencies + run: python -m pytest --find-dependencies pyfakefs/tests + shell: bash diff --git a/CHANGES.md b/CHANGES.md index fa7eafba..67cb7dfd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,9 @@ The released versions correspond to PyPi releases. ## Version 4.6.0 (as yet unreleased) +### Infrastructure +* added test dependency check (see [#608](../../issues/608)) + ## [Version 4.5.0](https://pypi.python.org/pypi/pyfakefs/4.5.0) (2021-06-04) Adds some support for Python 3.10 and basic type checking.