Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Actions #206

Merged
merged 4 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading