diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index ebb0a3ef..5a30691f 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -27,10 +27,29 @@ 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 init --ci + fair registry start + shell: bash - name: Query dependencies run: |