From eaecd31e9f0fe55508d1fafe9c765df4b0e7c3e2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 1 Sep 2021 22:59:51 +0200 Subject: [PATCH] ci: always run codecov and testspace Signed-off-by: Jens Langhammer --- .github/workflows/ci-main.yml | 39 +++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 06843965e..f97d55c87 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -121,8 +121,12 @@ jobs: run: | pipenv run make test pipenv run coverage xml + - name: run testspace + if: ${{ always() }} + run: | testspace unittest.xml ?add - - uses: codecov/codecov-action@v2 + - if: ${{ always() }} + uses: codecov/codecov-action@v2 test-integration: runs-on: ubuntu-latest steps: @@ -142,8 +146,12 @@ jobs: run: | pipenv run make test-integration pipenv run coverage xml + - name: run testspace + if: ${{ always() }} + run: | testspace unittest.xml ?add - - uses: codecov/codecov-action@v2 + - if: ${{ always() }} + uses: codecov/codecov-action@v2 test-e2e: runs-on: ubuntu-latest steps: @@ -172,8 +180,27 @@ jobs: run: | pipenv run make test-e2e pipenv run coverage xml + - name: run testspace + if: ${{ always() }} + run: | testspace unittest.xml ?add - - uses: codecov/codecov-action@v2 + - if: ${{ always() }} + uses: codecov/codecov-action@v2 + report: + if: ${{ always() }} + needs: + - test-unittest + - test-integration + - test-e2e + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: testspace-com/setup-testspace@v1 + with: + domain: ${{github.repository_owner}} + - name: finish testspace + run: | + testspace ?finish build: needs: - lint-pylint @@ -189,12 +216,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: testspace-com/setup-testspace@v1 - with: - domain: ${{github.repository_owner}} - - name: finish testspace - run: | - testspace ?finish - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: prepare variables