Commit Graph

9 Commits

Author SHA1 Message Date
Andrew Maguire 124994a04e turn off auto-commit as clashing with branch protection (#723)
disable openapi docs auto-commit while we resolve issue of clashing with branch protection
2023-01-15 10:34:04 +01:00
Andrew Maguire 0f607c7a28 export and auto-commit docs/docs/api/openapi.json as part of test-api-contract workflow (#719)
- copies that openapi.json file to docs/docs/api/openapi.json as part of start-mock-server.sh.
- adds a step to the end of the test-api-contract workflow that just auto-commits changes to the docs/docs/api/openapi.json file.
- excludes docs/docs/api/openapi.json from pre-commit since its already been formatted by jq.
2023-01-14 22:40:33 +00:00
Andrew Maguire d1e8df3982 add some ignore paths to test-api-contract.yaml (#630)
add some ignore paths
2023-01-11 21:20:46 +01:00
Vechtomov 6880b99ab0 npm install replaced with npm ci 2023-01-06 00:56:56 +03:00
Jack Michaud a95e71d6f9 ci: cd into correct directory to install deps 2023-01-03 20:59:37 -05:00
Jack Michaud 5ed4131720 ci: run contract tests through separate cypress command and add into CI 2023-01-03 20:51:11 -05:00
Jack Michaud ed115ea17c 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
2023-01-02 22:13:20 +01:00
Jack Michaud 5de4ea9ebc ci: install backend dependencies for generating openapi 2023-01-01 13:08:25 -05:00
Jack Michaud 857eaf26b1 ci: add Test API Contract workflow 2023-01-01 13:06:18 -05:00