MilesCranmer commited on
Commit
f88031e
1 Parent(s): 07a6991

Ensure Julia cache is not loaded for wrong test

Browse files
.github/workflows/CI.yml CHANGED
@@ -38,6 +38,8 @@ jobs:
38
  version: ${{ matrix.julia-version }}
39
  - name: "Cache Julia"
40
  uses: julia-actions/cache@v1
 
 
41
  - name: "Set up Python"
42
  uses: actions/setup-python@v4
43
  with:
@@ -101,6 +103,8 @@ jobs:
101
  environment-file: environment.yml
102
  - name: "Cache Julia"
103
  uses: julia-actions/cache@v1
 
 
104
  - name: "Install PySR"
105
  run: |
106
  python3 -m pip install .
 
38
  version: ${{ matrix.julia-version }}
39
  - name: "Cache Julia"
40
  uses: julia-actions/cache@v1
41
+ with:
42
+ cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }}
43
  - name: "Set up Python"
44
  uses: actions/setup-python@v4
45
  with:
 
103
  environment-file: environment.yml
104
  - name: "Cache Julia"
105
  uses: julia-actions/cache@v1
106
+ with:
107
+ cache-name: ${{ matrix.os }}-conda-${{ matrix.julia-version }}-${{ matrix.python-version }}
108
  - name: "Install PySR"
109
  run: |
110
  python3 -m pip install .
.github/workflows/CI_Windows.yml CHANGED
@@ -38,6 +38,8 @@ jobs:
38
  version: ${{ matrix.julia-version }}
39
  - name: "Cache Julia"
40
  uses: julia-actions/cache@v1
 
 
41
  - name: "Set up Python"
42
  uses: actions/setup-python@v4
43
  with:
 
38
  version: ${{ matrix.julia-version }}
39
  - name: "Cache Julia"
40
  uses: julia-actions/cache@v1
41
+ with:
42
+ cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }}
43
  - name: "Set up Python"
44
  uses: actions/setup-python@v4
45
  with:
.github/workflows/CI_mac.yml CHANGED
@@ -38,6 +38,8 @@ jobs:
38
  version: ${{ matrix.julia-version }}
39
  - name: "Cache Julia"
40
  uses: julia-actions/cache@v1
 
 
41
  - name: "Set up Python"
42
  uses: actions/setup-python@v4
43
  with:
 
38
  version: ${{ matrix.julia-version }}
39
  - name: "Cache Julia"
40
  uses: julia-actions/cache@v1
41
+ with:
42
+ cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }}
43
  - name: "Set up Python"
44
  uses: actions/setup-python@v4
45
  with: