Skip to content

Commit

Permalink
Create wandb_create_job.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-water authored Apr 3, 2024
1 parent fe54f7e commit 80c3394
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/wandb_create_job.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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:
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"

0 comments on commit 80c3394

Please sign in to comment.