File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 pip install setuptools
3636 fi
3737 python setup.py develop
38- python -m pip install flake8 pytest-cov coverage vcrpy black
38+ python -m pip install flake8 pytest-cov coverage vcrpy black openapi-spec-validator
3939 tools/install_pandas.sh
40+ - name : Validate OpenAPI spec
41+ continue-on-error : true
42+ run : |
43+ openapi-spec-validator openapi/openapi.yaml
4044 - name : black
4145 run : |
4246 black --check tiingo
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ format: ## apply opinionated formatting
5656format-check : # # check formatting for CI
5757 black --check tiingo/
5858
59+ validate-openapi : # # validate OpenAPI specification
60+ openapi-spec-validator openapi/openapi.yaml
61+
5962test : # # run tests quickly with the default Python
6063 py.test
6164
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ pytest==8.3.4
1212vcrpy==2.1.1
1313twine==6.0.1
1414black==24.10.0
15+ openapi-spec-validator==0.7.1
You can’t perform that action at this time.
0 commit comments