소스 검색

Add setup.py to the test pip cache hashing

Jason Grout 4 년 전
부모
커밋
0aac10aded
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      .github/workflows/linuxjs-tests.yml
  2. 1 1
      .github/workflows/linuxtests.yml
  3. 1 1
      .github/workflows/windowstests.yml

+ 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-