1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-25 23:46:00 +03:00

Port .travis.yml to GitHub Actions

This commit is contained in:
Anatoli Babenia 2020-11-13 15:37:41 +03:00 committed by Igor Chubin
parent 3cc9338d50
commit f568e3e306

View File

@ -23,5 +23,16 @@ jobs:
docker:
runs-on: ubuntu-20.04
steps:
- run: docker-compose build
- uses: actions/checkout@v2
- run: docker-compose build
- run: - docker images
- run: |
docker-compose -f docker-compose.yml up -d
# docker-compose -f docker-compose.yml -f docker-compose.debug.yml up -d
docker-compose ps
# wait until the web server is up
wget --timeout 3 --tries=5 --spider localhost:8002 2>&1 | grep -i http
docker-compose logs --no-color
- run: CHEATSH_TEST_STANDALONE=NO bash tests/run-tests.sh