Add very basic tests
This commit is contained in:
parent
832763cb2a
commit
1424fdf3bb
5 changed files with 137 additions and 3 deletions
11
README.md
11
README.md
|
@ -55,6 +55,14 @@ uv run flake8 src/ # Python linter
|
|||
The repository features a [pre-commit](https://pre-commit.com/) configuration which helps to properly format the source code before committing.
|
||||
It's recommended to install and use it.
|
||||
|
||||
### Tests
|
||||
|
||||
Servala is tested via pytest. Run tests like this:
|
||||
|
||||
```bash
|
||||
uv run --env-file=.env pytest
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
The project provides a Dockerfile which builds a production-ready container image.
|
||||
|
@ -83,6 +91,3 @@ See `.forgejo/workflows/build-deploy-staging.yaml` for the actual workflow.
|
|||
Deployment files are in the `deployment/kustomize` folder and makes use of [Kustomize](https://kustomize.io/) to account for differences between the deployment stages.
|
||||
Stages are configured with overlays in `deployment/kustomize/overlays/$environment`.
|
||||
|
||||
## Testing
|
||||
|
||||
TODO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue