flake reorg, nix integration testing

This commit is contained in:
Robin Appelman 2024-12-24 16:25:26 +01:00
commit 67465fc22a
14 changed files with 1558 additions and 689 deletions

View file

@ -2,14 +2,14 @@
![Build Status](https://github.com/demostf/api-test/workflows/CI/badge.svg)
Test suite for demos.tf api
Test suite for demos.tf api
## Usage
Start the test with the following environment variables
- `DB_URL` - [sqlx](https://github.com/launchbadge/sqlx) database url for the database used by the api
- `BASE_URL` - base url for the api
- `EDIT_KEY` - edit key for the api
Note that the test suite is destructive, all data saved in the database will be wiped for each test run.
- `DB_URL` - [sqlx](https://github.com/launchbadge/sqlx) database url for the database used by the api
- `BASE_URL` - base url for the api
- `EDIT_KEY` - edit key for the api
Note that the test suite is destructive, all data saved in the database will be wiped for each test run.