From 9161683aa0271a96ee64a4263f25e17bfdad7f14 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Fri, 18 Jun 2021 13:36:40 +0200 Subject: CI: Test with our minimal dependencies, but also with the latest versions --- .github/workflows/python-package.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a30a689..e2c5831 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,6 +17,7 @@ jobs: fail-fast: false matrix: python-version: [3.7, 3.8, 3.9] + dependencies: [minimal, latest] steps: - uses: actions/checkout@v2 @@ -28,7 +29,11 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ ${{ matrix.dependencies }} == "latest"]; then + pip install -r requirements.txt; + else + pip install -r requirements_minimal.txt; + fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names -- cgit v1.2.1