name: dashboard docker test on: push: branches: - master pull_request: branches: - master jobs: dashboard-docker-test: name: build dashboard & test runs-on: ubuntu-latest env: APISIX_DASHBOARD_TAG: 2.7.1 steps: - name: Checkout uses: actions/checkout@v2 - name: Build and run run: | make build-dashboard docker-compose -f ./compose/dashboard-compose.yaml up -d sleep 30 docker logs compose_dashboard_1 - name: check run: | wget https://raw.githubusercontent.com/apache/apisix-dashboard/master/api/test/shell/manager_smoking.sh chmod +x ./manager_smoking.sh sh manager_smoking.sh -s true - name: Tar Image run: | make save-dashboard-tar - name: Upload Image uses: actions/upload-artifact@v2 with: path: ./package