File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -311,3 +311,34 @@ jobs:
311311 - name : Push to GitHub Container Registry
312312 run : |
313313 helm push ${{ steps.package.outputs.path }} oci://ghcr.io/nginx/charts
314+
315+ cel-tests :
316+ name : CEL Tests
317+ runs-on : ubuntu-24.04
318+ needs : vars
319+ steps :
320+ - name : Checkout Repository
321+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
322+
323+ - name : Setup Golang Environment
324+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
325+ with :
326+ go-version : stable
327+ cache-dependency-path : |
328+ go.sum
329+ .github/.cache/buster-for-unit-tests
330+
331+ - name : Run Tests
332+ run : make -C tests test-cel-validation
333+
334+ - name : Upload coverage reports to Codecov
335+ uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
336+ with :
337+ token : ${{ secrets.CODECOV_TOKEN }}
338+
339+ - name : Upload Coverage Report
340+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
341+ with :
342+ name : cover-${{ github.run_id }}.html
343+ path : ${{ github.workspace }}/cover.html
344+ if : always()
You can’t perform that action at this time.
0 commit comments