mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
ci: add e2e-build-test for compiling the e2e testsuite
When Go modules get updated, golangci-lint sometimes fails with weird errors. One of the common causes seems to be that there is a dependency breakage between modules that are only used within the e2e test suite. A normal build of the cephcsi executable succeeds, but building ./e2e would fail. By adding a job to build the e2e.test executable, a clear error message will be reported when there are package dependency conflicts. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
d9c8a2abc7
commit
6f043698d1
7
.github/workflows/go-test.yaml
vendored
7
.github/workflows/go-test.yaml
vendored
@ -9,6 +9,13 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
e2e-build-test:
|
||||||
|
name: e2e-build-test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: e2e-build-test
|
||||||
|
run: make containerized-build TARGET=e2e.test
|
||||||
go-test:
|
go-test:
|
||||||
name: go-test
|
name: go-test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user