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

[ENH] retrieve metadata BEP leads from BIDS contributors #476

Merged
merged 16 commits into from
Oct 24, 2024
20 changes: 0 additions & 20 deletions .github/workflows/check_md_links.yml

This file was deleted.

64 changes: 51 additions & 13 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Force to use color
env:
FORCE_COLOR: true

jobs:
# Avoid Latin phrases to improve readability
latin-phrases:
Expand All @@ -18,20 +22,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip rich
python -m pip install -e tools[ci]
- name: Run Python script to check for Latin phrases - Master
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
python no-bad-latin.py
working-directory: tools/ci
- name: Run Python script to check for Latin phrases - Pull Request
if: github.event.pull_request
run: |
python no-bad-latin.py
run: python -m pip install -e tools[ci]
- name: Check for Latin phrases
run: python no-bad-latin.py
working-directory: tools/ci

# Markdown formatting
Expand All @@ -44,3 +39,46 @@ jobs:
node-version: 14
- name: Run markdown style checks
run: make remark

# validate bep leads metadata
bep-leads:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: python -m pip install -e tools[ci]
- name: Check bep lead metadata
run: python validate_people.py
working-directory: tools/ci

# validate bep leads metadata
apps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: python -m pip install -e tools[ci]
- name: Check bep lead metadata
run: python validate_apps.py
working-directory: tools/ci

# check links
link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: yes
# use-verbose-mode: no
config-file: md_link_check_config.json
folder-path: docs
file-path: ./README.md
Loading
Loading