Skip to content

Commit f568e3e

Browse files
abitrollychubin
authored andcommitted
Port .travis.yml to GitHub Actions
1 parent 3cc9338 commit f568e3e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/tests-ubuntu.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,16 @@ jobs:
2323
docker:
2424
runs-on: ubuntu-20.04
2525
steps:
26-
- run: docker-compose build
26+
- uses: actions/checkout@v2
27+
- run: docker-compose build
28+
- run: - docker images
29+
- run: |
30+
docker-compose -f docker-compose.yml up -d
31+
# docker-compose -f docker-compose.yml -f docker-compose.debug.yml up -d
32+
docker-compose ps
33+
# wait until the web server is up
34+
wget --timeout 3 --tries=5 --spider localhost:8002 2>&1 | grep -i http
35+
docker-compose logs --no-color
36+
- run: CHEATSH_TEST_STANDALONE=NO bash tests/run-tests.sh
37+
2738

0 commit comments

Comments
 (0)