From 1d175e7fab7791559686bfe7449b6c9e9b5b06e2 Mon Sep 17 00:00:00 2001 From: Daria Bialobrzeska Date: Fri, 9 Aug 2024 14:31:42 +0200 Subject: [PATCH] Enable maze tests in CI --- .github/workflows/test-package.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 75111c8..4424cc1 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -36,3 +36,26 @@ jobs: # go1.12 vet shows spurious 'unknown identifier' issues if: matrix.go-version != '1.12' run: go vet $(go list ./... | grep -v /features/) + + - name: install integration dependencies + if: matrix.os == 'ubuntu' + run: | + sudo apt-get update + sudo apt-get install libcurl4-openssl-dev + DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} + mkdir -p $DOCKER_CONFIG/cli-plugins + curl -SL https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose + chmod 755 $DOCKER_CONFIG/cli-plugins/docker-compose + - name: install Ruby + if: matrix.os == 'ubuntu' + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' + bundler-cache: true + working-directory: go/src/github.com/bugsnag/bugsnag-go-performance # relative to $GITHUB_WORKSPACE + - name: maze tests + working-directory: go/src/github.com/bugsnag/bugsnag-go-performance + if: matrix.os == 'ubuntu' + env: + GO_VERSION: ${{ matrix.go-version }} + run: bundle exec maze-runner --color --format progress