Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
fc23c11
1
Parent(s):
14e466a
Additional caching in CI tests
Browse files- .github/workflows/CI.yml +4 -20
- .github/workflows/CI_Windows.yml +3 -11
- .github/workflows/CI_large_nightly.yml +1 -0
- .github/workflows/CI_mac.yml +3 -11
- .github/workflows/docs.yml +1 -0
.github/workflows/CI.yml
CHANGED
@@ -36,21 +36,13 @@ jobs:
|
|
36 |
uses: julia-actions/setup-julia@v1
|
37 |
with:
|
38 |
version: ${{ matrix.julia-version }}
|
39 |
-
- name: "Cache
|
40 |
-
uses: actions/cache@v1
|
41 |
-
env:
|
42 |
-
cache-name: cache-artifacts
|
43 |
-
with:
|
44 |
-
path: ~/.julia/artifacts
|
45 |
-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
|
46 |
-
restore-keys: |
|
47 |
-
${{ runner.os }}-build-${{ env.cache-name }}-
|
48 |
-
${{ runner.os }}-build-
|
49 |
-
${{ runner.os }}-
|
50 |
- name: "Set up Python"
|
51 |
uses: actions/setup-python@v4
|
52 |
with:
|
53 |
python-version: ${{ matrix.python-version }}
|
|
|
54 |
- name: "Install PySR"
|
55 |
run: |
|
56 |
python -m pip install --upgrade pip
|
@@ -92,15 +84,7 @@ jobs:
|
|
92 |
steps:
|
93 |
- uses: actions/checkout@v3
|
94 |
- name: "Cache Julia"
|
95 |
-
uses: actions/cache@v1
|
96 |
-
env:
|
97 |
-
cache-name: cache-artifacts
|
98 |
-
with:
|
99 |
-
path: ~/.julia/artifacts
|
100 |
-
key: ${{ runner.os }}-julia-${{ env.cache-name }}-${{ hashFiles('pysr/version.py') }}
|
101 |
-
restore-keys: |
|
102 |
-
${{ runner.os }}-julia-${{ env.cache-name }}-
|
103 |
-
${{ runner.os }}-julia-
|
104 |
- name: "Cache conda"
|
105 |
uses: actions/cache@v2
|
106 |
env:
|
|
|
36 |
uses: julia-actions/setup-julia@v1
|
37 |
with:
|
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:
|
44 |
python-version: ${{ matrix.python-version }}
|
45 |
+
cache: pip
|
46 |
- name: "Install PySR"
|
47 |
run: |
|
48 |
python -m pip install --upgrade pip
|
|
|
84 |
steps:
|
85 |
- uses: actions/checkout@v3
|
86 |
- name: "Cache Julia"
|
87 |
+
uses: julia-actions/cache@v1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
- name: "Cache conda"
|
89 |
uses: actions/cache@v2
|
90 |
env:
|
.github/workflows/CI_Windows.yml
CHANGED
@@ -36,21 +36,13 @@ jobs:
|
|
36 |
uses: julia-actions/setup-julia@v1
|
37 |
with:
|
38 |
version: ${{ matrix.julia-version }}
|
39 |
-
- name: "Cache
|
40 |
-
uses: actions/cache@v1
|
41 |
-
env:
|
42 |
-
cache-name: cache-artifacts
|
43 |
-
with:
|
44 |
-
path: ~/.julia/artifacts
|
45 |
-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
|
46 |
-
restore-keys: |
|
47 |
-
${{ runner.os }}-build-${{ env.cache-name }}-
|
48 |
-
${{ runner.os }}-build-
|
49 |
-
${{ runner.os }}-
|
50 |
- name: "Set up Python"
|
51 |
uses: actions/setup-python@v4
|
52 |
with:
|
53 |
python-version: ${{ matrix.python-version }}
|
|
|
54 |
- name: "Install PySR"
|
55 |
run: |
|
56 |
python -m pip install --upgrade pip
|
|
|
36 |
uses: julia-actions/setup-julia@v1
|
37 |
with:
|
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:
|
44 |
python-version: ${{ matrix.python-version }}
|
45 |
+
cache: pip
|
46 |
- name: "Install PySR"
|
47 |
run: |
|
48 |
python -m pip install --upgrade pip
|
.github/workflows/CI_large_nightly.yml
CHANGED
@@ -34,6 +34,7 @@ jobs:
|
|
34 |
uses: actions/setup-python@v4
|
35 |
with:
|
36 |
python-version: ${{ matrix.python-version }}
|
|
|
37 |
- name: "Install PySR"
|
38 |
run: |
|
39 |
python -m pip install --upgrade pip
|
|
|
34 |
uses: actions/setup-python@v4
|
35 |
with:
|
36 |
python-version: ${{ matrix.python-version }}
|
37 |
+
cache: pip
|
38 |
- name: "Install PySR"
|
39 |
run: |
|
40 |
python -m pip install --upgrade pip
|
.github/workflows/CI_mac.yml
CHANGED
@@ -36,21 +36,13 @@ jobs:
|
|
36 |
uses: julia-actions/setup-julia@v1
|
37 |
with:
|
38 |
version: ${{ matrix.julia-version }}
|
39 |
-
- name: "Cache
|
40 |
-
uses: actions/cache@
|
41 |
-
env:
|
42 |
-
cache-name: cache-artifacts
|
43 |
-
with:
|
44 |
-
path: ~/.julia/artifacts
|
45 |
-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
|
46 |
-
restore-keys: |
|
47 |
-
${{ runner.os }}-build-${{ env.cache-name }}-
|
48 |
-
${{ runner.os }}-build-
|
49 |
-
${{ runner.os }}-
|
50 |
- name: "Set up Python"
|
51 |
uses: actions/setup-python@v4
|
52 |
with:
|
53 |
python-version: ${{ matrix.python-version }}
|
|
|
54 |
- name: "Install PySR"
|
55 |
run: |
|
56 |
python -m pip install --upgrade pip
|
|
|
36 |
uses: julia-actions/setup-julia@v1
|
37 |
with:
|
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:
|
44 |
python-version: ${{ matrix.python-version }}
|
45 |
+
cache: pip
|
46 |
- name: "Install PySR"
|
47 |
run: |
|
48 |
python -m pip install --upgrade pip
|
.github/workflows/docs.yml
CHANGED
@@ -25,6 +25,7 @@ jobs:
|
|
25 |
uses: actions/setup-python@v4
|
26 |
with:
|
27 |
python-version: 3.9
|
|
|
28 |
- name: "Install packages for docs building"
|
29 |
run: pip install mkdocs-material mkdocs-autorefs 'mkdocstrings[python]' docstring_parser
|
30 |
- name: "Install PySR"
|
|
|
25 |
uses: actions/setup-python@v4
|
26 |
with:
|
27 |
python-version: 3.9
|
28 |
+
cache: pip
|
29 |
- name: "Install packages for docs building"
|
30 |
run: pip install mkdocs-material mkdocs-autorefs 'mkdocstrings[python]' docstring_parser
|
31 |
- name: "Install PySR"
|