diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2199e45..8610e53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,11 +138,29 @@ jobs: - name: Run GitLab integration tests if: ${{ env.GITLAB_API_TOKEN != '' }} run: uv run pytest --run-integration-gitlab -m "integration_gitlab" tests/test_gitlab_integration.py - - + + test-zenodo-connection: + name: Test Zenodo connection + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Setup uv environment + uses: ./.github/actions/setup-uv + with: + dependency-group: dev + + - name: Convert CodeMeta to Zenodo metadata + run: uvx --from eossr eossr-codemeta2zenodo -i codemeta.json --overwrite + + - name: Verify Zenodo token before integration tests + run: uvx --from eossr eossr-check-connection-zenodo \ + --token "${{ secrets.ZENODO_ACCESS_TOKEN }}" \ + --project-dir . \ + docs: name: Docs (Sphinx) runs-on: ubuntu-latest