Skip to content

Commit

Permalink
add analysis test job and update base job versions
Browse files Browse the repository at this point in the history
  • Loading branch information
karacolada committed Jul 5, 2024
1 parent b6e2efd commit b5d121c
Showing 1 changed file with 29 additions and 19 deletions.
48 changes: 29 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rse-repo-study
environment-file: environment.yml
Expand All @@ -30,9 +29,8 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rse-repo-study
environment-file: environment.yml
Expand All @@ -52,9 +50,8 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rse-repo-study
environment-file: environment.yml
Expand All @@ -74,9 +71,8 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rse-repo-study
environment-file: environment.yml
Expand All @@ -96,9 +92,8 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rse-repo-study
environment-file: environment.yml
Expand All @@ -118,9 +113,8 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rse-repo-study
environment-file: environment.yml
Expand All @@ -139,4 +133,20 @@ jobs:
- name: Test cleaning links
working-directory: ./src/eprints
run: python3 clean_eprints_links.py --repo eprints.soton.ac.uk --date 2022-2023 --domain github.com -v
- run: ls -l data/raw/eprints
- run: ls -l data/raw/eprints
aggregate_data:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rse-repo-study
environment-file: environment.yml
auto-activate-base: false
- name: Aggregate
working-directory: ./src/analysis
run: python3 aggregate_datasets.py -v
- run: ls -l data/derived

0 comments on commit b5d121c

Please sign in to comment.