File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed
Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 4949 uses : google/clusterfuzzlite/actions/run_fuzzers@v1
5050 with :
5151 github-token : ${{ secrets.GITHUB_TOKEN }}
52- fuzz-seconds : 600
52+ fuzz-seconds : 300
5353 mode : ' code-change'
5454 sanitizer : ${{ matrix.sanitizer }}
5555 output-sarif : true
Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ jobs:
143143 - debian:latest
144144 - ubuntu:latest
145145 - fedora:latest
146+ test :
147+ - root
148+ - rootless
146149 env :
147150 TEST_DOCKER_IMAGE : ${{ matrix.image }}
148151 COVERAGE : umoci.coverage
@@ -165,7 +168,7 @@ jobs:
165168 ${{ github.workflow }}-image-
166169 - name : load ci image
167170 run : make ci-cache
168- - run : make TEST_DOCKER_IMAGE=$TEST_DOCKER_IMAGE test-integration
171+ - run : make TEST_DOCKER_IMAGE=$TEST_DOCKER_IMAGE test-${{ matrix.test }}- integration
169172 - run : go tool covdata textfmt -i "$GOCOVERDIR" -o "$COVERAGE"
170173 - name : codecov
171174 uses : codecov/codecov-action@v5
@@ -202,3 +205,15 @@ jobs:
202205 with :
203206 name : coverage
204207 path : ${{ env.GOCOVERDIR }}
208+
209+ complete :
210+ runs-on : ubuntu-latest
211+ needs :
212+ - release
213+ - validate
214+ - macos
215+ - unit
216+ - integration
217+ - coverage
218+ steps :
219+ - run : echo "all done"
Original file line number Diff line number Diff line change @@ -187,9 +187,16 @@ local-test-unit:
187187TESTS ?=
188188
189189.PHONY : test-integration
190- test-integration : ci-image
190+ test-integration : test-root-integration test-rootless-integration
191+
192+ .PHONY : test-root-integration
193+ test-root-integration : ci-image umoci.cover
191194 mkdir -p $(GOCOVERDIR ) && chmod a+rwx $(GOCOVERDIR )
192195 $(DOCKER_ROOTPRIV_RUN ) -e GOCOVERDIR -e TESTS $(UMOCI_IMAGE ) make local-test-integration
196+
197+ .PHONY : test-rootless-integration
198+ test-rootless-integration : ci-image umoci.cover
199+ mkdir -p $(GOCOVERDIR ) && chmod a+rwx $(GOCOVERDIR )
193200 $(DOCKER_ROOTLESS_RUN ) -e GOCOVERDIR -e TESTS $(UMOCI_IMAGE ) make local-test-integration
194201
195202.PHONY : local-test-integration
@@ -214,7 +221,7 @@ CI_CACHE_PATH ?=.ci-cache
214221.PHONY : ci-cache
215222ci-cache : BUILDX_CACHE := \
216223 --cache-from=type=local,src=$(CI_CACHE_PATH ) \
217- --cache-to=type=local,mode=max, dest=$(CI_CACHE_PATH )
224+ --cache-to=type=local,dest=$(CI_CACHE_PATH )
218225ci-cache : ci-image
219226
220227.PHONY : ci-image
You can’t perform that action at this time.
0 commit comments