docs: Add ORCID login documentation and email setup steps #541
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python tests and coverage | |
on: | |
push: { branches: [master] } | |
pull_request: { branches: [master] } | |
defaults: | |
run: | |
working-directory: ./services/datalad | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Setup Deno stable | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Install git-annex | |
run: curl -L http://archive.org/download/git-annex-builds/SHA256E-s53592796--6e0a3c16d50379f89d2064081376a3f7f6efa1a89eb1afc2a2335597e7cf9fac.tar.gz | tar -C /usr/local/bin --strip-components 1 -xvz | |
- name: Install pipenv | |
run: pip install 'pipenv==2023.7.23' | |
- name: Install dependencies | |
run: pipenv install --dev | |
- name: Install bids-validator | |
run: npm install | |
- name: Configure git defaults | |
run: | | |
git config --global user.name "Git Worker" | |
git config --global user.email "ci@openneuro.org" | |
git config --global receive.denyCurrentBranch updateInstead | |
- name: Run tests and collect coverage | |
run: pipenv run pytest -n 4 --cov=./datalad_service --cov-report=xml:coverage.xml ./tests | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |