ci: simplify testspace setup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
b557b4337d
commit
91312496e0
|
@ -178,7 +178,7 @@ jobs:
|
||||||
- name: run testspace
|
- name: run testspace
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
testspace unittest.xml ?add
|
testspace [unittest]unittest.xml --link=codecov
|
||||||
- if: ${{ always() }}
|
- if: ${{ always() }}
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
test-integration:
|
test-integration:
|
||||||
|
@ -209,7 +209,7 @@ jobs:
|
||||||
- name: run testspace
|
- name: run testspace
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
testspace unittest.xml ?add
|
testspace [integration]unittest.xml --link=codecov
|
||||||
- if: ${{ always() }}
|
- if: ${{ always() }}
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
test-e2e:
|
test-e2e:
|
||||||
|
@ -256,24 +256,9 @@ jobs:
|
||||||
- name: run testspace
|
- name: run testspace
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
testspace unittest.xml ?add
|
testspace [e2e]unittest.xml --link=codecov
|
||||||
- if: ${{ always() }}
|
- if: ${{ always() }}
|
||||||
uses: codecov/codecov-action@v2
|
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
|
||||||
|
|
Reference in New Issue