Merge pull request #4 from aeon-toolkit/content #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build leaderboard | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - "results/submitted/**" | |
| - "leaderboards/build_leaderboard.py" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pandas tabulate | |
| - name: Build leaderboard | |
| run: | | |
| python leaderboards/build_leaderboard.py | |
| - name: Show diff | |
| run: | | |
| git status --porcelain | |
| git diff -- leaderboards/leaderboard.md || true |