Orion Weller commited on
Commit
3afb68e
1 Parent(s): bef8d2f

Create check_leaderboard_can_update.yaml

Browse files
.github/workflows/check_leaderboard_can_update.yaml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name: check_leaderboard_can_update
5
+
6
+ on:
7
+ pull_request:
8
+ branches: [ main ]
9
+
10
+ jobs:
11
+ build:
12
+
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ with:
18
+ fetch-depth: 0
19
+ lfs: true
20
+ - name: Set up Python 3.9
21
+ uses: actions/setup-python@v4
22
+ with:
23
+ python-version: 3.9
24
+ - name: Install requirements
25
+ run: |
26
+ pip install -r requirements.txt
27
+ - name: Run leaderboard updating code
28
+ run: |
29
+ python refresh.py