File tree Expand file tree Collapse file tree 3 files changed +31
-34
lines changed Expand file tree Collapse file tree 3 files changed +31
-34
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
# Run "pre-commit run --all-files"
10
10
pre-commit :
11
+ name : Run pre-commit checks
11
12
runs-on : ubuntu-latest
12
13
timeout-minutes : 5
13
14
20
21
pre-commit run --all-files --hook-stage manual || (git diff; false)
21
22
22
23
mkdocs :
24
+ name : Check docs
23
25
runs-on : ubuntu-latest
24
26
timeout-minutes : 5
25
27
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Check if all JSON test files are up-to-date
1
+ name : Unified Tests
2
2
3
3
on :
4
4
push :
5
5
branches : [master]
6
6
pull_request : ~
7
7
8
8
jobs :
9
- build :
9
+ schema-check :
10
+ name : Check unified test format files against schema
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Set up Python
17
+ uses : actions/setup-python@v2
18
+ with :
19
+ python-version : 3.x
20
+ - name : Set up npm
21
+ uses : actions/setup-node@v2
22
+ with :
23
+ node-version : lts/*
24
+ - name : Install dependencies
25
+ run : |
26
+ npm install -g ajv-cli js-yaml
27
+ - name : Check unified format test files against schema
28
+ working-directory : source/unified-test-format/tests
29
+ run : make
30
+ - name : Check all unified tests schema version is valid
31
+ run : bash .github/workflows/check_schema_version.sh
32
+ - name : Check schema-latest.json has been updated
33
+ run : bash .github/workflows/check-schema-latest.sh
34
+
35
+ json-check :
36
+ name : Check if all JSON test files are up-to-date
10
37
11
38
runs-on : ubuntu-latest
12
39
You can’t perform that action at this time.
0 commit comments