| name: Integration |
| |
| on: [push, pull_request] |
| |
| jobs: |
| build: |
| runs-on: ubuntu-latest |
| timeout-minutes: 20 |
| steps: |
| - uses: actions/checkout@v2 |
| - name: Copy files |
| run: cp docker/latest/** ./ |
| - name: Docker build |
| run: docker build -t apache/dubbo-admin-integration:latest . |
| - name: Setup xvfb |
| run: sudo apt-get install xvfb |
| - name: Run integration test |
| run: xvfb-run --server-args="-screen 0, 1024x768x24" ./mvnw --batch-mode --projects dubbo-admin-test --activate-profiles dubbo-admin-integration-test -Ddocker.showLogs=true docker:stop docker:remove verify |