File tree 4 files changed +11
-16
lines changed
4 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v4
18
- - uses : conda-incubator/setup-miniconda@v2
18
+ - uses : conda-incubator/setup-miniconda@v3
19
19
with :
20
20
auto-update-conda : true
21
21
python-version : ${{ matrix.python-version }}
41
41
42
42
- name : Access rubin-sim-data cache
43
43
id : cache-rs
44
- uses : actions/cache@v3
44
+ uses : actions/cache@v4
45
45
env :
46
46
cache-name : cached-rubin-sim-data
47
47
with :
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- - uses : conda-incubator/setup-miniconda@v2
15
+ - uses : conda-incubator/setup-miniconda@v3
16
16
with :
17
17
auto-update-conda : true
18
18
python-version : ${{ matrix.python-version }}
@@ -22,22 +22,21 @@ jobs:
22
22
channel-priority : strict
23
23
show-channel-urls : true
24
24
25
- - name : Configure conda and install requirements
25
+ - name : Configure conda and install minimal requirements for cache
26
26
shell : bash -l {0}
27
27
run : |
28
- mamba install --quiet --file=requirements.txt
29
- mamba install --quiet --file=test-requirements.txt
28
+ mamba install --quiet rubin-scheduler -c conda-forge
30
29
31
30
- name : Install rubin_sim from git
32
31
shell : bash -l {0}
33
32
run : |
34
33
echo `pwd`
35
34
ls ${{ github.workspace }}
36
- python -m pip install . --no-deps
35
+ python -m pip install -e . --no-deps
37
36
38
37
- name : Access rubin-sim-data cache
39
38
id : cache-rs
40
- uses : actions/cache@v3
39
+ uses : actions/cache@v4
41
40
env :
42
41
cache-name : cached-rubin-sim-data
43
42
with :
61
60
ls $RUBIN_SIM_DATA_DIR
62
61
echo "__contents of versions.txt__"
63
62
cat $RUBIN_SIM_DATA_DIR/versions.txt
64
-
65
-
66
-
Original file line number Diff line number Diff line change 24
24
python-version : ["3.11"]
25
25
steps :
26
26
- uses : actions/checkout@v4
27
- - uses : conda-incubator/setup-miniconda@v2
27
+ - uses : conda-incubator/setup-miniconda@v3
28
28
with :
29
29
auto-update-conda : true
30
30
python-version : ${{ matrix.python-version }}
49
49
50
50
- name : Access rubin-sim-data cache
51
51
id : cache-rs
52
- uses : actions/cache@v3
52
+ uses : actions/cache@v4
53
53
env :
54
54
cache-name : cached-rubin-sim-data
55
55
with :
81
81
pytest -r a -v --cov=rubin_sim --cov=tests --cov-report=xml --cov-report=term --cov-branch
82
82
83
83
- name : Upload coverage to codecov
84
- uses : codecov/codecov-action@v2
84
+ uses : codecov/codecov-action@v4
85
85
with :
86
86
file : coverage.xml
87
87
98
98
fetch-depth : 0
99
99
100
100
- name : Set up Python
101
- uses : actions/setup-python@v4
101
+ uses : actions/setup-python@v5
102
102
with :
103
103
python-version : 3.11
104
104
cache : " pip"
Original file line number Diff line number Diff line change @@ -3,4 +3,3 @@ black>=24.0.0
3
3
ruff
4
4
isort
5
5
pytest-cov
6
-
You can’t perform that action at this time.
0 commit comments