Add CI test for compiled webserver
This commit is contained in:
parent
fa33199489
commit
450df74ba8
@ -24,6 +24,15 @@ pipeline:
|
||||
# - ./tests.sh
|
||||
# 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:
|
||||
image: offline-twitter/go
|
||||
when:
|
||||
|
Loading…
x
Reference in New Issue
Block a user