Skip to content

Commit

Permalink
Merge pull request #206 from FAIRDataPipeline/feature/update-actions
Browse files Browse the repository at this point in the history
Update Actions
  • Loading branch information
RyanJField authored Dec 2, 2024
2 parents ac2b27f + 9f9a3a0 commit c8689ea
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
on:
on:
push:
branches:
- '*'
workflow_dispatch:

schedule:
- cron: "0 9 * * 1" # Run Every Monday at 9AM
jobs:
R-CMD-check:
# If the commit message isn't [skip ci]
Expand Down
26 changes: 22 additions & 4 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,28 @@ jobs:
pkgdown
remotes
- name: Install local registry
run: /bin/bash -c "$(curl -fsSL https://data.scrc.uk/static/localregistry.sh)"
- name: Start registry
run: $HOME/.fair/registry/scripts/start_fair_registry
- name: Checkout FAIRDataPipeline/FAIR-CLI
uses: actions/checkout@v4
with:
repository: FAIRDataPipeline/FAIR-CLI
path: FAIR-CLI
- name: Move FAIR-CLI
run: mv FAIR-CLI ../FAIR-CLI
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Install and initialise FAIR CLI
run: |
cd ../FAIR-CLI
poetry install
source $VENV
cd '${{ github.workspace }}'
fair registry install --version main
fair registry start
shell: bash

- name: Query dependencies
run: |
Expand Down

0 comments on commit c8689ea

Please sign in to comment.