Skip to content

Commit c8689ea

Browse files
authored
Merge pull request #206 from FAIRDataPipeline/feature/update-actions
Update Actions
2 parents ac2b27f + 9f9a3a0 commit c8689ea

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

.github/workflows/test-build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
on:
1+
on:
22
push:
3-
branches:
4-
- '*'
53
workflow_dispatch:
6-
4+
schedule:
5+
- cron: "0 9 * * 1" # Run Every Monday at 9AM
76
jobs:
87
R-CMD-check:
98
# If the commit message isn't [skip ci]

.github/workflows/test-coverage.yaml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,28 @@ jobs:
2727
pkgdown
2828
remotes
2929
30-
- name: Install local registry
31-
run: /bin/bash -c "$(curl -fsSL https://data.scrc.uk/static/localregistry.sh)"
32-
- name: Start registry
33-
run: $HOME/.fair/registry/scripts/start_fair_registry
30+
- name: Checkout FAIRDataPipeline/FAIR-CLI
31+
uses: actions/checkout@v4
32+
with:
33+
repository: FAIRDataPipeline/FAIR-CLI
34+
path: FAIR-CLI
35+
- name: Move FAIR-CLI
36+
run: mv FAIR-CLI ../FAIR-CLI
37+
- name: Install Poetry
38+
uses: snok/install-poetry@v1
39+
with:
40+
virtualenvs-create: true
41+
virtualenvs-in-project: true
42+
43+
- name: Install and initialise FAIR CLI
44+
run: |
45+
cd ../FAIR-CLI
46+
poetry install
47+
source $VENV
48+
cd '${{ github.workspace }}'
49+
fair registry install --version main
50+
fair registry start
51+
shell: bash
3452

3553
- name: Query dependencies
3654
run: |

0 commit comments

Comments
 (0)