Browse Source

Add setup.py to the test pip cache hashing

Jason Grout 4 years ago
parent
commit
0aac10aded

+ 1 - 1
.github/workflows/linuxjs-tests.yml

@@ -25,7 +25,7 @@ jobs:
         if: startsWith(runner.os, 'Linux')
         with:
           path: ~/.cache/pip
-          key: ${{ runner.os }}-pip-${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
+          key: ${{ runner.os }}-pip-${{ matrix.python }}-${{ hashFiles('**/requirements.txt', 'setup.py') }}
           restore-keys: |
             ${{ runner.os }}-pip-${{ matrix.python }}
 

+ 1 - 1
.github/workflows/linuxtests.yml

@@ -46,7 +46,7 @@ jobs:
         if: startsWith(runner.os, 'Linux')
         with:
           path: ~/.cache/pip
-          key: ${{ runner.os }}-pip-${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
+          key: ${{ runner.os }}-pip-${{ matrix.python }}-${{ hashFiles('**/requirements.txt', 'setup.py') }}
           restore-keys: |
             ${{ runner.os }}-pip-${{ matrix.python }}
 

+ 1 - 1
.github/workflows/windowstests.yml

@@ -25,7 +25,7 @@ jobs:
         if: startsWith(runner.os, 'Windows')
         with:
           path: ~\AppData\Local\pip\Cache
-          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
+          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', 'setup.py') }}
           restore-keys: |
             ${{ runner.os }}-pip-