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 88jobs :
99 # Run "pre-commit run --all-files"
1010 pre-commit :
11+ name : Run pre-commit checks
1112 runs-on : ubuntu-latest
1213 timeout-minutes : 5
1314
2021 pre-commit run --all-files --hook-stage manual || (git diff; false)
2122
2223 mkdocs :
24+ name : Check docs
2325 runs-on : ubuntu-latest
2426 timeout-minutes : 5
2527
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
22
33on :
44 push :
55 branches : [master]
66 pull_request : ~
77
88jobs :
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
1037
1138 runs-on : ubuntu-latest
1239
You can’t perform that action at this time.
0 commit comments