mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32: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:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||||
database: [sqlite]
|
database: [sqlite]
|
||||||
|
dependencies: [normal]
|
||||||
# Test other databases only with one version of Python (Debian buster has 3.7)
|
# Test other databases only with one version of Python (Debian buster has 3.7)
|
||||||
include:
|
include:
|
||||||
- python-version: 3.7
|
- python-version: 3.7
|
||||||
database: postgresql
|
database: postgresql
|
||||||
- python-version: 3.7
|
- python-version: 3.7
|
||||||
database: mariadb
|
database: mariadb
|
||||||
|
# Try with the minimal versions supported
|
||||||
|
- python-version: 3.9
|
||||||
|
dependencies: minimal
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -51,6 +55,9 @@ jobs:
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|
Loading…
Reference in a new issue