
Changes the default server readiness probe to pass when the server is uninitialized, in order to pass the latest version of the chart-verifier test (see #954) for details. Also updates the chart-verifier used in our tests to 1.13.0 (latest).
24 lines
846 B
YAML
24 lines
846 B
YAML
name: Tests
|
|
on: [push, workflow_dispatch]
|
|
jobs:
|
|
bats-unit-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
|
- uses: ./.github/actions/setup-test-tools
|
|
- run: bats --tap --timing ./test/unit
|
|
chart-verifier:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CHART_VERIFIER_VERSION: '1.13.0'
|
|
steps:
|
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
|
- name: Setup test tools
|
|
uses: ./.github/actions/setup-test-tools
|
|
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
|
with:
|
|
go-version: '1.21.3'
|
|
- run: go install "github.com/redhat-certification/chart-verifier@${CHART_VERIFIER_VERSION}"
|
|
- run: bats --tap --timing ./test/chart
|
|
permissions:
|
|
contents: read
|