From 899a62a1a61e03827f347e0db9c5b069574d1c9d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 11 Jul 2023 15:24:43 +0200 Subject: Try out buildpulse.io --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64dddd2f8..d30063290 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -206,7 +206,7 @@ jobs: python -m pip install -U pip python -m pip install -U -r misc/requirements/requirements-tox.txt - name: "Run ${{ matrix.testenv }}" - run: "dbus-run-session -- tox -e ${{ matrix.testenv }} -- ${{ matrix.args }}" + run: "dbus-run-session -- tox -e ${{ matrix.testenv }} -- ${{ matrix.args }} -- --junit-xml=junit.xml" if: "startsWith(matrix.os, 'ubuntu-')" - name: "Run ${{ matrix.testenv }} without DBus" run: "tox -e ${{ matrix.testenv }} -- ${{ matrix.args }}" @@ -219,6 +219,16 @@ jobs: uses: codecov/codecov-action@v3 with: name: "${{ matrix.testenv }}" + - name: Upload test results to BuildPulse for flaky test detection + if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. + uses: buildpulse/buildpulse-action@main + with: + account: 21955151 + repository: 21244505 + path: | + junit.xml + key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} + secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} codeql: if: "!contains(github.event.head_commit.message, '[ci skip]')" -- cgit v1.2.3-54-g00ecf