ci: re-add testspace (#1331)
* ci: re-add testspace Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * ci: fix double k3d Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a15571bd3e
commit
50777d9022
|
@ -114,10 +114,14 @@ jobs:
|
|||
python-version: '3.9'
|
||||
- name: prepare
|
||||
run: scripts/ci_prepare.sh
|
||||
- uses: testspace-com/setup-testspace@v1
|
||||
with:
|
||||
domain: ${{github.repository_owner}}
|
||||
- name: run unittest
|
||||
run: |
|
||||
pipenv run make test
|
||||
pipenv run coverage xml
|
||||
testspace unittest.xml
|
||||
- uses: codecov/codecov-action@v2
|
||||
test-integration:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -128,15 +132,17 @@ jobs:
|
|||
python-version: '3.9'
|
||||
- name: prepare
|
||||
run: scripts/ci_prepare.sh
|
||||
- uses: testspace-com/setup-testspace@v1
|
||||
with:
|
||||
domain: ${{github.repository_owner}}
|
||||
- name: prepare k3d
|
||||
run: |
|
||||
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
|
||||
k3d cluster create
|
||||
k3d kubeconfig write -o ~/.kube/config --overwrite
|
||||
- name: run integration
|
||||
run: |
|
||||
pipenv run make test-integration
|
||||
pipenv run coverage xml
|
||||
testspace unittest.xml
|
||||
- uses: codecov/codecov-action@v2
|
||||
test-e2e:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -150,6 +156,9 @@ jobs:
|
|||
node-version: '16'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: web/package-lock.json
|
||||
- uses: testspace-com/setup-testspace@v1
|
||||
with:
|
||||
domain: ${{github.repository_owner}}
|
||||
- name: prepare
|
||||
run: |
|
||||
scripts/ci_prepare.sh
|
||||
|
@ -163,6 +172,7 @@ jobs:
|
|||
run: |
|
||||
pipenv run make test-e2e
|
||||
pipenv run coverage xml
|
||||
testspace unittest.xml
|
||||
- uses: codecov/codecov-action@v2
|
||||
build:
|
||||
needs:
|
||||
|
|
Reference in New Issue