Skip to content

Commit

Permalink
[ENH] retrieve metadata BEP leads from BIDS contributors (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau authored Oct 24, 2024
1 parent 64f51e5 commit 1343a6b
Show file tree
Hide file tree
Showing 12 changed files with 447 additions and 228 deletions.
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

0 comments on commit 1343a6b

Please sign in to comment.