Run tests in parallel and output github formats on workflow (#543)

* Run tests in parallel and output github formats on workflow

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix broken parallel tests

We were using a fixed file for the tests which several tests could be
accessing at the same time.

This fixes it by setting a temp random file at the test start

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix the tests logging to stdout

Signed-off-by: Itxaka <itxaka@kairos.io>

* Drop the verbose

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix agent test

Signed-off-by: Itxaka <itxaka@kairos.io>

* Let the event consumer create the logfile or whatever

Signed-off-by: Itxaka <itxaka@kairos.io>

* Drop Focus

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka
2024-09-17 17:51:11 +02:00
committed by GitHub
parent 3e99d75331
commit fbb64f2a82
7 changed files with 41 additions and 45 deletions

View File

@@ -28,7 +28,7 @@ var _ = Describe("Bootstrap provider", func() {
defer os.RemoveAll(f)
wd, _ := os.Getwd()
os.WriteFile(filepath.Join(wd, "agent-provider-test"), []byte(testProvider), 0655)
os.WriteFile(filepath.Join(wd, "agent-provider-test"), []byte(testProvider), 0777)
defer os.RemoveAll(filepath.Join(wd, "agent-provider-test"))