2022-04-25 21:13:34 +00:00
|
|
|
---
|
2021-03-19 14:04:38 +00:00
|
|
|
name: ci-remote-image
|
2021-03-19 12:13:10 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.env'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run-remote-image-docker-compose:
|
|
|
|
timeout-minutes: 20
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-04-25 21:13:34 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-03-19 12:13:10 +00:00
|
|
|
|
|
|
|
- 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
|