mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 09:22:38 +02:00
CI: Add variant with minimal versions of all dependencies
This commit is contained in:
parent
d557119762
commit
48cc73b756
1 changed files with 7 additions and 0 deletions
7
.github/workflows/test-docs.yml
vendored
7
.github/workflows/test-docs.yml
vendored
|
@ -38,12 +38,16 @@ jobs:
|
|||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
database: [sqlite]
|
||||
dependencies: [normal]
|
||||
# Test other databases only with one version of Python (Debian buster has 3.7)
|
||||
include:
|
||||
- python-version: 3.7
|
||||
database: postgresql
|
||||
- python-version: 3.7
|
||||
database: mariadb
|
||||
# Try with the minimal versions supported
|
||||
- python-version: 3.9
|
||||
dependencies: minimal
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -51,6 +55,9 @@ jobs:
|
|||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Change dependencies to minimal supported versions
|
||||
run: sed -i -e 's/>=/==/g; s/~=.*==\(.*\)/==\1/g; s/~=/==/g;' setup.cfg
|
||||
if: matrix.dependencies == 'minimal'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
|
Loading…
Reference in a new issue