summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-09-03 21:58:46 -0700
committerGitHub <noreply@github.com>2023-09-03 21:58:46 -0700
commite645a89192b28cc16a1303bfa5551834c64ecb77 (patch)
tree6da1d0b5f59cef5c9fd9a615119742550fe1ad2c /.github/workflows
parente49c6f55ae0c00bc660bbe885ea44f3a2fb1dc35 (diff)
downloadsncontinue-e645a89192b28cc16a1303bfa5551834c64ecb77.tar.gz
sncontinue-e645a89192b28cc16a1303bfa5551834c64ecb77.tar.bz2
sncontinue-e645a89192b28cc16a1303bfa5551834c64ecb77.zip
refactor: :construction: Initial, not tested, refactor of LLM (#448)
* refactor: :construction: Initial, not tested, refactor of LLM * refactor: :construction: replace usages of _complete with complete * fix: :bug: fixes after refactor * refactor: :recycle: template raw completions in chat format * test: :white_check_mark: simplified edit prompt and UNIT TESTS! * ci: :green_heart: unit tests in ci * fix: :bug: fixes for unit tests in ci * fix: :bug: start uvicorn in tests without poetry * fix: :closed_lock_with_key: add secrets to main.yaml * feat: :adhesive_bandage: timeout for all LLM classes * ci: :green_heart: prepare main.yaml for main branch
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 8c348024..49dde09c 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -39,6 +39,17 @@ jobs:
run: |
chmod 777 dist/run
+ - name: Test Python Server
+ env:
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
+ ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
+ TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
+ run: |
+ cd continuedev
+ pip install -r dev_requirements.txt
+ cd src
+ python -m pytest
+
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with: