Skip to content

Create wandb_create_job.yml #1

Create wandb_create_job.yml

Create wandb_create_job.yml #1

name: py
on:
push:
branches:
- main
tags:
- 'jobs/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner.
- name: Setup python
uses: actions/setup-python@v2
with:

Check failure on line 18 in .github/workflows/wandb_create_job.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/wandb_create_job.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
python-version: 3.10 #install the python needed
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
pip install wandb
pip wandb login ${{ secrets.WANDB_API_KEY }}
ref: # branch
main
- name: Create WANDB job
run: |
wandb job create --project "${{ secrets.WANDB_PROJECT }}" --entity "${{ secrets.WANDB_ORG }}" --name "gha-${{ github.ref_name }}" git [email protected]:spaceml-org/SDO-FM.git -g launch-testing --entry-point "scripts/test.py"