File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change 1717# │ │ │ │ │
1818# * * * * *
1919
20+ env :
21+ ANSYS_VERSION : 232
22+ DOCUMENTATION_CNAME : ' dpf.docs.pyansys.com'
23+ MAIN_PYTHON_VERSION : ' 3.8'
24+
2025jobs :
2126 debug :
2227 runs-on : ubuntu-latest
@@ -33,21 +38,15 @@ jobs:
3338 - uses : actions/checkout@v3
3439
3540 - name : " Setup Python"
36- uses : actions/setup-python@v4.2.0
41+ uses : actions/setup-python@v4
3742 with :
38- python-version : 3.8
39-
40- - name : " Install style requirements"
41- run : |
42- pip install -r requirements/requirements_style.txt --disable-pip-version-check
43+ python-version : ${{ env.MAIN_PYTHON_VERSION }}
4344
44- - name : " Codespell"
45- run : |
46- make codespell
45+ - name : " Install pre-commit"
46+ run : pip install pre-commit
4747
48- - name : " flake8"
49- run : |
50- make flake8
48+ - name : " Run pre-commit"
49+ run : pre-commit run --all-files --show-diff-on-failure
5150
5251 tests :
5352 uses : ./.github/workflows/tests.yml
You can’t perform that action at this time.
0 commit comments