Skip to content

Commit 07163a3

Browse files
committed
Add testing at lowest specified dep versions, update deps
1 parent cd695b5 commit 07163a3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
os: ubuntu-latest
2020
- python: 3.7
2121
os: windows-latest
22+
- python: 3.7
23+
os: ubuntu-latest
24+
versions: minimal
2225
runs-on: ${{matrix.os}}
2326
steps:
2427
- name: Download source
@@ -28,11 +31,16 @@ jobs:
2831
uses: actions/setup-python@v2
2932
with:
3033
python-version: ${{matrix.python}}
34+
- name: Pin to lowest versions
35+
if: matrix.versions == 'minimal'
36+
run: |
37+
sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml
3138
- name: Cache packages
3239
uses: actions/cache@v2
3340
with:
3441
path: .venv
3542
key: venv-${{matrix.os}}-py${{steps.python.outputs.python-version}}-${{hashFiles('pyproject.toml')}}
43+
restore-keys: venv-${{matrix.os}}-py${{steps.python.outputs.python-version}}-
3644
- name: Create virtualenv
3745
run: |
3846
python -m venv .venv
@@ -45,5 +53,6 @@ jobs:
4553
run: |
4654
.tools/ci.sh with_groups
4755
- name: Check formatting
56+
if: matrix.versions == null
4857
run: |
4958
git diff --exit-code

0 commit comments

Comments
 (0)