Skip to content

Commit

Permalink
Update CI to only print the results
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulfatir committed Dec 22, 2024
1 parent 68cbd7a commit d201945
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/eval-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- labeled # When a label is added to the PR

jobs:
evaluate-and-post:
evaluate-and-print:
if: contains(github.event.pull_request.labels.*.name, 'run-eval') # Only run if 'run-eval' label is added
runs-on: ubuntu-latest
env:
Expand All @@ -33,10 +33,5 @@ jobs:
- name: Run Eval Script
run: python scripts/evaluation/evaluate.py ci/evaluate/backtest_config.yaml $RESULTS_CSV --chronos-model-id=amazon/chronos-bolt-small --device=cpu --torch-dtype=float32

- name: Upload CSV
uses: actions/upload-artifact@v4
with:
name: eval-metrics
path: ${{ env.RESULTS_CSV }}
retention-days: 1
overwrite: true
- name: Print CSV
run: cat $RESULTS_CSV

0 comments on commit d201945

Please sign in to comment.