Commit 1584471 1 parent 9fd2157 commit 1584471 Copy full SHA for 1584471
File tree 2 files changed +14
-32
lines changed
2 files changed +14
-32
lines changed Original file line number Diff line number Diff line change 32
32
include :
33
33
- os : ubuntu-20.04
34
34
python-version : ' 3.9'
35
+ deps : minimal
35
36
fail-fast : false
36
37
37
38
concurrency :
@@ -44,21 +45,21 @@ jobs:
44
45
uses : actions/setup-python@v5
45
46
with :
46
47
python-version : ${{ matrix.python-version }}
47
- - if : ${{ matrix.os == 'ubuntu-20.04' }}
48
- name : Install minimal env
48
+
49
+ - run : python -m pip install --upgrade pip
50
+
51
+ - if : matrix.deps == 'minimal'
49
52
run : |
50
- python -m pip install --upgrade pip
51
- python -m pip install tomli tomli_w
52
- python scripts/pin_requirements.py
53
- python -m pip uninstall --yes tomli tomli_w
54
- python -m pip install -e . --only-binary ':all:'
55
- python -m pip install pytest pytest-mpl pytest-cov
56
- - if : ${{ matrix.os != 'ubuntu-20.04' }}
57
- name : Install full test env
53
+ pipx run uv pip compile pyproject.toml --resolution=lowest-direct > mindeps.txt
54
+ python -m pip install --requirement mindeps.txt
55
+
56
+ - name : Build
58
57
run : |
59
- python -m pip install --upgrade pip setuptools wheel
60
- pip install -r requirements/dev.txt
61
- - run : python -m pip freeze
58
+ python -m pip install -e .
59
+ python -m pip install -r requirements/dev.txt
60
+
61
+ - run : python -m pip list
62
+
62
63
- name : Test package
63
64
run : |
64
65
pytest --color=yes --mpl --cov --cov-config=pyproject.toml --cov-report=term-missing
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments