Add CI test for compiled webserver

This commit is contained in:
Alessio 2023-08-20 11:41:42 -03:00
parent fa33199489
commit 450df74ba8

View File

@ -24,6 +24,15 @@ pipeline:
# - ./tests.sh # - ./tests.sh
# TODO: fix the integration tests! # TODO: fix the integration tests!
webserver_test:
image: offline-twitter/go
commands:
- cd cmd
- ./compile.sh
- ./tw --profile ../sample_data/profile --addr localhost:1000 webserver &
- curl localhost:1000/cernovich
- jobs -p | xargs -I{} kill -- -{}
version_bump_test: version_bump_test:
image: offline-twitter/go image: offline-twitter/go
when: when: