File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
4553 run : |
4654 .tools/ci.sh with_groups
4755 - name : Check formatting
56+ if : matrix.versions == null
4857 run : |
4958 git diff --exit-code
You can’t perform that action at this time.
0 commit comments