From d201945e857d43dfedf4f390bbd6ad4fb533e370 Mon Sep 17 00:00:00 2001 From: Abdul Fatir Ansari Date: Sun, 22 Dec 2024 07:14:06 +0000 Subject: [PATCH] Update CI to only print the results --- .github/workflows/eval-model.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/eval-model.yml b/.github/workflows/eval-model.yml index 95f7e27..991d186 100644 --- a/.github/workflows/eval-model.yml +++ b/.github/workflows/eval-model.yml @@ -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: @@ -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