From 025db83af30df642b101f661e2cfe59ff7922395 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 18 Jul 2022 18:06:54 +0200 Subject: [PATCH] ci(test): cancel previous calls and fix the docker logs cmd --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb56c88e9..49ebcfe04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,15 @@ env: CARGO_TERM_COLOR: always jobs: + + cancel-others: + runs-on: ubuntu-latest + steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.9.1 + with: + access_token: ${{ github.token }} + test-matrix-sdk-features: name: 🐧 [m], ${{ matrix.name }} if: github.event_name == 'push' || !github.event.pull_request.draft @@ -238,7 +247,7 @@ jobs: - name: Check logs working-directory: testing/matrix-sdk-integration-testing/assets - run: docker logs backend + run: docker logs - name: Run matrix sdk integration tests run: cargo test -p matrix-sdk-integration-testing \ No newline at end of file