ci: always run codecov and testspace

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-01 22:59:51 +02:00
parent 36989d82e1
commit eaecd31e9f

View file

@ -121,8 +121,12 @@ jobs:
run: | run: |
pipenv run make test pipenv run make test
pipenv run coverage xml pipenv run coverage xml
- name: run testspace
if: ${{ always() }}
run: |
testspace unittest.xml ?add testspace unittest.xml ?add
- uses: codecov/codecov-action@v2 - if: ${{ always() }}
uses: codecov/codecov-action@v2
test-integration: test-integration:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -142,8 +146,12 @@ jobs:
run: | run: |
pipenv run make test-integration pipenv run make test-integration
pipenv run coverage xml pipenv run coverage xml
- name: run testspace
if: ${{ always() }}
run: |
testspace unittest.xml ?add testspace unittest.xml ?add
- uses: codecov/codecov-action@v2 - if: ${{ always() }}
uses: codecov/codecov-action@v2
test-e2e: test-e2e:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -172,8 +180,27 @@ jobs:
run: | run: |
pipenv run make test-e2e pipenv run make test-e2e
pipenv run coverage xml pipenv run coverage xml
- name: run testspace
if: ${{ always() }}
run: |
testspace unittest.xml ?add 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: build:
needs: needs:
- lint-pylint - lint-pylint
@ -189,12 +216,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - 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 - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: prepare variables - name: prepare variables