Install hatch
pip install hatch=="v1.7.0"
hatch run code-quality:hooks
Code quality checks, unit tests, and integration tests (against dev) are performed on the creation of a PR, and subsequent pushes for that PR. Code quality checks, unit tests, and integration tests (against dev) are performed on a push to main. Integration tests are triggered whenever the e2e tests are triggered (environment will be dependent on e2e tests) Code quality checks, unit tests, and integration tests (against prod) are performed on the publishing of a release tag.
When you create a PR in the deepset-cloud-sdk repository, add the 'test-deploy' label to trigger deployment to the test PyPi repository.
To publish a new version of the SDK you will need to create and publish a new release tag.
Have a look at this README to get an overview of the software design.