diff --git a/.github/tests.sh b/.github/tests.sh index e3d44fd..0999ae0 100755 --- a/.github/tests.sh +++ b/.github/tests.sh @@ -24,6 +24,6 @@ echo curl -I --silent --fail --show-error "http://localhost/#getting_started/auto_wizard/docker_compose_token" > /dev/null echo -echo "Autowizard executed successful" +echo "Autowizard executed successful :)" echo diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c9dbcc3..3c0f5d4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,7 +45,7 @@ jobs: - lint-bash-scripts - lint-docker-files - lint-docker-compose-file - timeout-minutes: 30 + timeout-minutes: 20 runs-on: ubuntu-latest steps: - name: Checkout @@ -60,3 +60,22 @@ jobs: run: docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad - name: run tests run: .github/tests.sh + + run-remote-image-docker-compose: + needs: + - lint-bash-scripts + - lint-docker-files + - lint-docker-compose-file + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: pull docker-compose images + run: docker-compose pull + - name: run docker-compose up + run: docker-compose up --detach + - name: add autowizard file + run: docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad + - name: run tests + run: .github/tests.sh