fix: update workflow template for devseed-staging #1
This file contains hidden or 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: Workflow Parallelism Smoke Test | |
| on: | |
| pull_request: | |
| paths: | |
| - 'workflows/**' | |
| - 'scripts/convert.py' | |
| - 'scripts/register.py' | |
| push: | |
| branches: | |
| - feat/workflow-parallelism | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| pip install uv | |
| uv sync | |
| - name: Validate workflow template YAML | |
| run: | | |
| python -c "import yaml; yaml.safe_load(open('workflows/base/workflowtemplate.yaml'))" | |
| - name: Test convert.py imports | |
| run: | | |
| uv run python -c "from scripts.convert import run_conversion; print('✓ convert.py imports OK')" | |
| - name: Test register.py imports | |
| run: | | |
| uv run python -c "from scripts.register import run_registration; print('✓ register.py imports OK')" | |
| - name: Validate kustomize overlays | |
| run: | | |
| if command -v kustomize &> /dev/null; then | |
| kustomize build workflows/overlays/high-throughput | |
| else | |
| echo "Kustomize not available; skipping validation" | |
| fi |