@@ -25,11 +25,11 @@ jobs:
25
25
python-version : 3.11
26
26
cache : pip
27
27
cache-dependency-path : |
28
- requirements.txt
28
+ requirements-dev .txt
29
29
pyproject.toml
30
30
- name : Install dependencies
31
31
run : |
32
- pip install -r requirements.txt
32
+ pip install -r requirements-dev .txt
33
33
pip install -e . --no-deps
34
34
- name : Cache pre-commit tools
35
35
uses : actions/cache@v4
38
38
${{ env.MYPY_CACHE_DIR }}
39
39
${{ env.RUFF_CACHE_DIR }}
40
40
${{ env.PRE_COMMIT_HOME }}
41
- key : ${{ hashFiles('requirements.txt', '.pre-commit-config.yaml') }}-linter-cache
41
+ key : ${{ hashFiles('requirements-dev .txt', '.pre-commit-config.yaml') }}-linter-cache
42
42
- name : Run pre-commit checks
43
43
run : pre-commit run --all-files --verbose --show-diff-on-failure
44
44
test :
@@ -47,15 +47,15 @@ jobs:
47
47
strategy :
48
48
fail-fast : false
49
49
matrix :
50
- os : [ ubuntu-latest ]
50
+ os : [ubuntu-latest]
51
51
steps :
52
- - uses : actions/checkout@v4
53
- - name : Set up oldest supported Python on ${{ matrix.os }}
54
- uses : actions/setup-python@v5
55
- with :
56
- python-version : ' 3.10'
57
- - name : Run tests on oldest supported Python
58
- run : |
59
- python -m pip install -r requirements.txt
60
- python -m pip install .
61
- pytest
52
+ - uses : actions/checkout@v4
53
+ - name : Set up oldest supported Python on ${{ matrix.os }}
54
+ uses : actions/setup-python@v5
55
+ with :
56
+ python-version : " 3.10"
57
+ - name : Run tests on oldest supported Python
58
+ run : |
59
+ pip install -r requirements-dev .txt
60
+ pip install -e . --no-deps
61
+ pytest
0 commit comments