-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 889 Bytes
/
verify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: verify
on: push
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: main
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12.0
- name: Install dependencies
run: pip3 install -U online-judge-verify-helper
- name: Clone ac-library
uses: actions/checkout@v3
with:
repository: atcoder/ac-library
path: ac-library
sparse-checkout: atcoder
- name: Run tests
working-directory: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YUKICODER_TOKEN: ${{ secrets.YUKICODER_TOKEN }}
CPLUS_INCLUDE_PATH: ${{ github.workspace }}/ac-library
GH_PAT: ${{ secrets.GH_PAT }}
run: oj-verify all --jobs 2 --timeout 3600