Skip to content

Commit b5d121c

Browse files
committed
add analysis test job and update base job versions
1 parent b6e2efd commit b5d121c

File tree

1 file changed

+29
-19
lines changed

1 file changed

+29
-19
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ jobs:
88
run:
99
shell: bash -el {0}
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/checkout@v3
13-
- uses: conda-incubator/setup-miniconda@v2
11+
- uses: actions/checkout@v4
12+
- uses: conda-incubator/setup-miniconda@v3
1413
with:
1514
activate-environment: rse-repo-study
1615
environment-file: environment.yml
@@ -30,9 +29,8 @@ jobs:
3029
run:
3130
shell: bash -el {0}
3231
steps:
33-
- uses: actions/checkout@v3
34-
- uses: actions/checkout@v3
35-
- uses: conda-incubator/setup-miniconda@v2
32+
- uses: actions/checkout@v4
33+
- uses: conda-incubator/setup-miniconda@v3
3634
with:
3735
activate-environment: rse-repo-study
3836
environment-file: environment.yml
@@ -52,9 +50,8 @@ jobs:
5250
run:
5351
shell: bash -el {0}
5452
steps:
55-
- uses: actions/checkout@v3
56-
- uses: actions/checkout@v3
57-
- uses: conda-incubator/setup-miniconda@v2
53+
- uses: actions/checkout@v4
54+
- uses: conda-incubator/setup-miniconda@v3
5855
with:
5956
activate-environment: rse-repo-study
6057
environment-file: environment.yml
@@ -74,9 +71,8 @@ jobs:
7471
run:
7572
shell: bash -el {0}
7673
steps:
77-
- uses: actions/checkout@v3
78-
- uses: actions/checkout@v3
79-
- uses: conda-incubator/setup-miniconda@v2
74+
- uses: actions/checkout@v4
75+
- uses: conda-incubator/setup-miniconda@v3
8076
with:
8177
activate-environment: rse-repo-study
8278
environment-file: environment.yml
@@ -96,9 +92,8 @@ jobs:
9692
run:
9793
shell: bash -el {0}
9894
steps:
99-
- uses: actions/checkout@v3
100-
- uses: actions/checkout@v3
101-
- uses: conda-incubator/setup-miniconda@v2
95+
- uses: actions/checkout@v4
96+
- uses: conda-incubator/setup-miniconda@v3
10297
with:
10398
activate-environment: rse-repo-study
10499
environment-file: environment.yml
@@ -118,9 +113,8 @@ jobs:
118113
run:
119114
shell: bash -el {0}
120115
steps:
121-
- uses: actions/checkout@v3
122-
- uses: actions/checkout@v3
123-
- uses: conda-incubator/setup-miniconda@v2
116+
- uses: actions/checkout@v4
117+
- uses: conda-incubator/setup-miniconda@v3
124118
with:
125119
activate-environment: rse-repo-study
126120
environment-file: environment.yml
@@ -139,4 +133,20 @@ jobs:
139133
- name: Test cleaning links
140134
working-directory: ./src/eprints
141135
run: python3 clean_eprints_links.py --repo eprints.soton.ac.uk --date 2022-2023 --domain github.com -v
142-
- run: ls -l data/raw/eprints
136+
- run: ls -l data/raw/eprints
137+
aggregate_data:
138+
runs-on: ubuntu-latest
139+
defaults:
140+
run:
141+
shell: bash -el {0}
142+
steps:
143+
- uses: actions/checkout@v4
144+
- uses: conda-incubator/setup-miniconda@v3
145+
with:
146+
activate-environment: rse-repo-study
147+
environment-file: environment.yml
148+
auto-activate-base: false
149+
- name: Aggregate
150+
working-directory: ./src/analysis
151+
run: python3 aggregate_datasets.py -v
152+
- run: ls -l data/derived

0 commit comments

Comments
 (0)