diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index e506cc07e2..0d47dafc71 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -108,7 +108,6 @@ jobs: - name: Run unit tests run: cd agent; make test -B - unit-test-web: name: WebUI unit tests runs-on: ubuntu-latest @@ -336,6 +335,11 @@ jobs: name: CLI e2e tests needs: [build-docker] runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + total_splits: [8] + index: [0,1,2,3,4,5,6,7] steps: - name: Checkout uses: actions/checkout@v3 @@ -348,6 +352,8 @@ jobs: docker load --input dist/image.tar - name: Run tests run: | + curl -sfL https://raw.githubusercontent.com/Songmu/gotesplit/main/install.sh | sh -s + find ./dist -name 'tracetest' -exec cp {} ./dist \; chmod +x ./dist/tracetest @@ -355,7 +361,8 @@ jobs: export TEST_ENVIRONMENT=jaeger cd ./testing/cli-e2etest - make test + + ../../bin/gotesplit -total ${{ matrix.total_splits }} -index ${{ matrix.index }} ./... -- -v -timeout 300s -p 1 # TODO: this would be a great idea but it doesn't work on GHA with docker # it can probablly be implemented with k8s in a separated job