summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@googlemail.com>2021-06-18 13:36:40 +0200
committerDominik Holland <dominik.holland@googlemail.com>2021-06-29 14:50:09 +0200
commite4e2d7696342e3008101478b45ca863ce3ab1ee6 (patch)
treeea7ed47e0708951b9a99d2ee1b848d23bb8d5d8c
parent37be832795b123d851f3b0b96583e6c943b48d18 (diff)
downloadqtivi-qface-e4e2d7696342e3008101478b45ca863ce3ab1ee6.tar.gz
CI: Test with our minimal dependencies, but also with the latest versions
-rw-r--r--.github/workflows/python-package.yml7
1 files changed, 6 insertions, 1 deletions
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