diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5cd4f64..3fdce0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,46 +1,47 @@ name: test on: # Run CI on all pushes to the master and release/** branches, and on all new # pull requests, and on all pushes to pull requests (even if a pull request # is not against master). push: branches: - - "master" - - "releases/**" + - "master" + - "releases/**" pull_request: env: DOCKER_COMPOSE_VERSION: 1.24.1 jobs: test: strategy: matrix: - py2: ['', '1'] + py2: ["", "1"] runs-on: ubuntu-18.04 name: "test${{ matrix.py2 == '1' && ' PY2' || ''}}" steps: - name: Pin docker-compose run: | sudo rm /usr/local/bin/docker-compose curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose chmod +x docker-compose sudo mv docker-compose /usr/local/bin - name: Checkout uses: actions/checkout@v2 - name: Install and test env: - COMPOSE_PARALLEL_LIMIT: 10 + COMPOSE_PARALLEL_LIMIT: 50 + COMPOSE_HTTP_TIMEOUT: 450 SENTRY_PYTHON2: ${{ matrix.py2 == '1' || '' }} run: | ./install.sh ./test.sh printf "Testing in-place upgrade" ./install.sh --minimize-downtime ./test.sh - name: Inspect failure if: failure() run: | docker-compose ps docker-compose logs diff --git a/foo b/foo new file mode 100644 index 0000000..e69de29