mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
CI checks that can be automatically repaired (#119)
* fix isort & black & toml-sort & sphinx error * fix ci error * fix ci error * add comments * Update Makefile * change sphinx build command * add auto-lint * add black args * format with black * Auto Linting document * fix ci error --------- Co-authored-by: you-n-g <you-n-g@users.noreply.github.com> Co-authored-by: Young <afe.young@gmail.com>
This commit is contained in:
@@ -20,16 +20,17 @@ jobs:
|
||||
- run: env | sort
|
||||
- run: make dev
|
||||
- env:
|
||||
# Two environment variables here can cause sphinx to fail to build in ci.
|
||||
# CHAT_MAX_TOKENS: ${{ secrets.CHAT_MAX_TOKENS }}
|
||||
# CHAT_TEMPERATURE: ${{ secrets.CHAT_TEMPERATURE }}
|
||||
CHAT_AZURE_API_BASE: ${{ secrets.CHAT_AZURE_API_BASE }}
|
||||
CHAT_AZURE_API_VERSION: ${{ secrets.CHAT_AZURE_API_VERSION }}
|
||||
CHAT_MAX_TOKENS: ${{ secrets.CHAT_MAX_TOKENS }}
|
||||
CHAT_MODEL: ${{ secrets.CHAT_MODEL }}
|
||||
CHAT_TEMPERATURE: ${{ secrets.CHAT_TEMPERATURE }}
|
||||
EMBEDDING_AZURE_API_BASE: ${{ secrets.CHAT_AZURE_API_BASE }}
|
||||
EMBEDDING_AZURE_API_VERSION: ${{ secrets.CHAT_AZURE_API_VERSION }}
|
||||
EMBEDDING_MODEL: ${{ secrets.EMBEDDING_MODEL }}
|
||||
name: lint test docs and build
|
||||
run: make lint # test docs build sphinx
|
||||
run: make lint docs-gen # test docs build
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
|
||||
Reference in New Issue
Block a user