@@ -69,23 +69,23 @@ jobs:
6969 if : startsWith(runner.os, 'Linux')
7070 with :
7171 path : ~/.cache/pip
72- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements_test.txt ') }}
72+ key : ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml ') }}
7373 restore-keys : |
7474 ${{ runner.os }}-${{ runner.architecture }}-${{ runner.python-version }}pip-
7575 - name : cache MacOS
7676 uses : actions/cache@v4
7777 if : startsWith(runner.os, 'macOS')
7878 with :
7979 path : ~/Library/Caches/pip
80- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements_test.txt ') }}
80+ key : ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml ') }}
8181 restore-keys : |
8282 ${{ runner.os }}-${{ runner.architecture }}-${{ runner.python-version }}pip-
8383 - name : cache Windows
8484 uses : actions/cache@v4
8585 if : startsWith(runner.os, 'Windows')
8686 with :
8787 path : ~\AppData\Local\pip\Cache
88- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements_test.txt ') }}
88+ key : ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml ') }}
8989 restore-keys : |
9090 ${{ runner.os }}-${{ runner.architecture }}-${{ runner.python-version }}pip-
9191
@@ -101,12 +101,12 @@ jobs:
101101 python -c "import platform; print(platform.platform()); print(platform.architecture())"
102102 python -m pip install --upgrade pip
103103 python -m pip install wheel
104- pip install -r requirements_test.txt
104+ pip install -e .[test]
105105 pip install nuitka
106106 - name : Add numba
107107 if : ${{ !contains(fromJSON('["pypy3.9"]'), matrix.python-version) }}
108108 run : |
109- pip install numba
109+ pip install -e .[ numba]
110110 - name : Build nuitka library
111111 run : |
112112 python -m nuitka --module fluids --include-package=fluids
0 commit comments