Skip to content

Commit

Permalink
chore: gh action debug
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Feb 6, 2024
1 parent 238082b commit 4224548
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/train-spread-predictor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@ jobs:
- name: Install dependencies with Poetry
run: poetry install

- name: Download data and train model
- name: Download data
# TODO: mkdir should not be necessary but gh action hangs when doing os.makedirs
run: |
mkdir ./nfl_analytics/data
ls -a
ls -a ./nfl_analytics
poetry run python ./nfl_analytics/main.py --download --train
poetry run python ./nfl_analytics/main.py --download
# TODO: should be able to combine w/ main.py --download
- name: Train Model
run: poetry run python ./nfl_analytics/main.py --train

# TODO: tag name? release name?
- name: Create release
Expand Down

0 comments on commit 4224548

Please sign in to comment.