refactor: move OasstApiClient into oasst-shared (#287)

* refactor: move api_client into oasst-shared

* refactor: move contract tests into oasst-shared

* fix: use new OasstApiClient imports in discord bot
This commit is contained in:
Jack Michaud
2023-01-02 21:13:20 +00:00
committed by GitHub
parent 0a59aeb8b0
commit ed115ea17c
7 changed files with 7 additions and 12 deletions
+3 -8
View File
@@ -18,18 +18,13 @@ jobs:
- run: cd oasst-shared && pip install -e .
- run: cd oasst-shared && pip install -r requirements.dev.txt
- run: cd backend && pip install -r requirements.txt
- run: cd discord-bot && pip install -r requirements.txt
- run: cd discord-bot && pip install -r requirements.dev.txt
- run: ./scripts/backend-development/start-mock-server.sh
# runs the contract tests. currently the api client is
# found in the discord bot code, but this should be updated
# once the client moves into oasst-shared.
- name: Run contract tests
run: ./scripts/discord-bot-development/test.sh
run: ./scripts/oasst-shared-development/test.sh
- run: ./scripts/backend-development/stop-mock-server.sh