Skip to content

fix: server function call #462

fix: server function call

fix: server function call #462

Workflow file for this run

name: check code
on:
pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r requirements.txt
- name: Test
run: make test
- name: Run SlashGPT
run: OPENAI_API_KEY=TEST ./SlashGPT.py --run /bye
- name: Run SimpleGPT
run: OPENAI_API_KEY=TEST python -m samples.SimpleGPT test
- name: Run SimpleGPT2
run: OPENAI_API_KEY=TEST python -m samples.SimpleGPT2 test
- name: Run AgentGPT
run: OPENAI_API_KEY=TEST python -m samples.AgentGPT test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r requirements.txt
- name: Lint
run: make lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install poetry
run: pip install poetry
- name: Build
run: poetry build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: packages
path: dist/