File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI tests
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+
9+ env :
10+ PYTEST_ADDOPTS : " --color=yes"
11+ LINTING_PY_VERSION : " 3.10" # The version of Python to use for linting (typically the minimum supported)
12+
13+ # Cancel running workflows when additional changes are pushed
14+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value
15+ concurrency :
16+ group : ${{ github.head_ref || github.run_id }}
17+ cancel-in-progress : true
18+
19+ jobs :
20+
21+ make-schemas :
22+ runs-on : ubuntu-latest
23+
24+ steps :
25+ - uses : actions/checkout@v5
26+ with :
27+ submodules : true
28+
29+ - name : Set up Python ${{ env.LINTING_PY_VERSION }}
30+ uses : actions/setup-python@v6
31+ with :
32+ python-version : ${{ env.LINTING_PY_VERSION }}
33+
34+ - name : Install dependencies
35+ run : |
36+ python -m pip install --upgrade pip
37+ pip install -U setuptools wheel
38+ pip install -r dependencies/submodules/optimade-property-tools/requirements.txt
39+
40+ - name : Make schemas
41+ run : make schemas_html_pretty=true schemas_html_ext=true
You can’t perform that action at this time.
0 commit comments