Skip to content

Configure 6 curators with 20% overlap #9

Configure 6 curators with 20% overlap

Configure 6 curators with 20% overlap #9

name: Validate Definitions
on:
pull_request:
paths:
- 'assignments/**/*.tsv'
- 'outputs/reviewed/**/*.tsv'
push:
branches:
- main
paths:
- 'assignments/**/*.tsv'
- 'outputs/reviewed/**/*.tsv'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
- name: Set up Python
run: uv python install 3.11
- name: Install dependencies
run: uv sync --group dev
- name: Validate assignment files
run: |
echo "Validating assignment files..."
for file in assignments/*.tsv; do
if [ -f "$file" ]; then
echo "Validating $file..."
echo "Validation not yet implemented - skipping"
fi
done
- name: Validate reviewed outputs
run: |
echo "Validating reviewed outputs..."
if [ -d "outputs/reviewed" ]; then
for file in outputs/reviewed/*/*.tsv; do
if [ -f "$file" ]; then
echo "Validating $file..."
echo "Validation not yet implemented - skipping"
fi
done
else
echo "No reviewed outputs directory found - skipping"
fi
- name: Summary
if: always()
run: |
echo "## Validation Summary" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Validated all TSV files for OBO Foundry compliance." >> $GITHUB_STEP_SUMMARY