From 89937b98a78b264c629e9a9555417a18b66bd7d4 Mon Sep 17 00:00:00 2001 From: Yann Dubois Date: Wed, 5 Jul 2023 14:29:16 +0200 Subject: [PATCH] [CI] leaderboard formatting (#58) --- .github/workflows/update_leaderboard.yml | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/update_leaderboard.yml diff --git a/.github/workflows/update_leaderboard.yml b/.github/workflows/update_leaderboard.yml new file mode 100644 index 00000000..be12d50d --- /dev/null +++ b/.github/workflows/update_leaderboard.yml @@ -0,0 +1,28 @@ +name: Format leaderboard + +on: + push: + branches: + - main + paths: + - 'leaderboards/data_AlpacaEval/**' + +jobs: + format_leaderboard: + runs-on: "ubuntu-20.04" + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.10 + cache: "pip" + + - name: Install dependencies + run: pip install . + + - name: Run script + run: python docs/format_export_leaderboards.py \ No newline at end of file