mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 15:39:37 -05:00
Add integration test workflows
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
0e2025b67c
commit
5548cde22e
17
.github/workflows/test-integration.yml
vendored
17
.github/workflows/test-integration.yml
vendored
@ -19,5 +19,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: "1.18"
|
go-version: "1.18"
|
||||||
|
|
||||||
- name: Run Integration Test
|
- name: Install Dependencies
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y pkg-config libcryptsetup12 libcryptsetup-dev
|
||||||
|
|
||||||
|
- name: Integration Test Coordinator
|
||||||
run: DEBUG=true go test -v -tags integration ./test/
|
run: DEBUG=true go test -v -tags integration ./test/
|
||||||
|
|
||||||
|
- name: Integration Test mount
|
||||||
|
run: |
|
||||||
|
go test -tags integration -c ./test/
|
||||||
|
sudo ./test.test -test.v -v 9
|
||||||
|
working-directory: mount
|
||||||
|
|
||||||
|
- name: Integration Test disk-mapper
|
||||||
|
run: |
|
||||||
|
go test -tags integration -c ./test/
|
||||||
|
sudo ./test.test -test.v
|
||||||
|
working-directory: state
|
||||||
|
2
.github/workflows/test-unittest.yml
vendored
2
.github/workflows/test-unittest.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install -y libcryptsetup-dev
|
run: sudo apt-get update && sudo apt-get install -y pkg-config libcryptsetup12 libcryptsetup-dev
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -race -count=3 ./...
|
run: go test -race -count=3 ./...
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// go:build integration
|
//go:build integration
|
||||||
|
|
||||||
package integration
|
package integration
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user