WIP: automated integration tests #338

Closed
decentral1se wants to merge 1 commits from automated-integration-tests into main
Owner

Attempting to be somewhat certain we actually fix the regressions of:

Idea is to run a new job under a debian image with bats, docker, git etc. installed. Then it runs the commands and asserts output. I'm hoping to have the experience of running bats locally and via the CI be the same, so it's easy to work with.

This is passing for me locally atm:

$ apt install bats bats-support bats-assert
$ bats tests/integration/integration.bats

CI is struggling. I built a custom image (docker build -t decentral1se/abra-test-int .).

Attempting to be somewhat certain we actually fix the regressions of: - https://git.coopcloud.tech/coop-cloud/organising/issues/478 - https://git.coopcloud.tech/coop-cloud/organising/issues/477 - https://git.coopcloud.tech/coop-cloud/organising/issues/476 Idea is to run a new job under a debian image with [bats](https://bats-core.readthedocs.io/en/stable/), docker, git etc. installed. Then it runs the commands and asserts output. I'm hoping to have the experience of running `bats` locally and via the CI be the same, so it's easy to work with. This is passing for me locally atm: ``` $ apt install bats bats-support bats-assert $ bats tests/integration/integration.bats ``` CI is struggling. I built a custom image (`docker build -t decentral1se/abra-test-int .`).
decentral1se added 2 commits 2023-08-02 08:51:03 +00:00
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build encountered an error Details
ac20ffe2b6
wip: ...only run integration tests for now...
decentral1se added 1 commit 2023-08-02 08:52:20 +00:00
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/pr Build was killed Details
59db7f13bd
fixup! wip: automated integration tests
decentral1se force-pushed automated-integration-tests from 59db7f13bd to 68963a6b11 2023-08-02 08:57:13 +00:00 Compare
decentral1se force-pushed automated-integration-tests from 68963a6b11 to a340922f94 2023-08-02 09:18:07 +00:00 Compare
decentral1se force-pushed automated-integration-tests from a340922f94 to 0c91441d36 2023-08-02 09:36:01 +00:00 Compare
decentral1se changed title from wip: automated integrationt tests to WIP: automated integration tests 2023-08-02 09:37:27 +00:00
decentral1se force-pushed automated-integration-tests from 0c91441d36 to 9283593095 2023-08-02 09:38:24 +00:00 Compare
decentral1se force-pushed automated-integration-tests from 9283593095 to 2f10fb80a8 2023-08-02 10:00:01 +00:00 Compare
Author
Owner

Closing off for now and re-grouping for how best to approach this. It's a large piece of work.

Closing off for now and re-grouping for how best to approach this. It's a large piece of work.
decentral1se closed this pull request 2023-08-26 08:07:35 +00:00
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed

Pull request closed

Sign in to join this conversation.
No description provided.