diff options
author | Dominik Holland <dominik.holland@googlemail.com> | 2021-06-18 13:36:40 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@googlemail.com> | 2022-01-27 13:50:04 +0100 |
commit | 9161683aa0271a96ee64a4263f25e17bfdad7f14 (patch) | |
tree | ea7ed47e0708951b9a99d2ee1b848d23bb8d5d8c | |
parent | f0d2a962e387cdac215071ed3979f96159489bc9 (diff) | |
download | qtivi-qface-9161683aa0271a96ee64a4263f25e17bfdad7f14.tar.gz |
CI: Test with our minimal dependencies, but also with the latest versions
-rw-r--r-- | .github/workflows/python-package.yml | 7 |
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 |