Skip to content

Merge pull request #14 from Jacoo-Zhao/feature-cicd #1

Merge pull request #14 from Jacoo-Zhao/feature-cicd

Merge pull request #14 from Jacoo-Zhao/feature-cicd #1

Workflow file for this run

name: Run ClearML Task
on:
pull_request:
branches: [main]
jobs:
run_pipeline:
runs-on: ubuntu-latest
env: # ✅ env: # Global environment variables for all steps
CLEARML_API_ACCESS_KEY: ${{ secrets.CLEARML_API_ACCESS_KEY }}
CLEARML_API_SECRET_KEY: ${{ secrets.CLEARML_API_SECRET_KEY }}
CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Debug ENV
run: |
echo "CLEARML_API_HOST=$CLEARML_API_HOST"
if [ -z "$CLEARML_API_HOST" ]; then echo "❌ HOST is empty!"; exit 1; fi
curl -I $CLEARML_API_HOST

Check failure on line 34 in .github/workflows/pipeline.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pipeline.yaml

Invalid workflow file

You have an error in your yaml syntax on line 34
- name: Run pipeline
run: |
# clearml-agent daemon --queue "task" --detached
# python main.py
python s1_dataset_artifact.py