mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
ci: 🧠
This commit is contained in:
parent
c649d44c21
commit
33f207c563
1 changed files with 7 additions and 3 deletions
10
.github/workflows/charts-test.yaml
vendored
10
.github/workflows/charts-test.yaml
vendored
|
@ -18,11 +18,15 @@ jobs:
|
|||
name: Generate matrix for install
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
matrix: |
|
||||
install-matrix: |
|
||||
{
|
||||
"chart": ${{ steps.list-changed.outputs.charts }},
|
||||
"k8s_version": ["v1.22.12", "v1.24.3"]
|
||||
}
|
||||
unittest-matrix: |
|
||||
{
|
||||
"chart": ${{ steps.list-changed.outputs.charts }}
|
||||
}
|
||||
detected: ${{ steps.list-changed.outputs.detected }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -52,7 +56,7 @@ jobs:
|
|||
if: needs.generate-test-matrix.outputs.detected == 'true'
|
||||
name: Install charts
|
||||
strategy:
|
||||
matrix: ${{ fromJson(needs.generate-test-matrix.outputs.matrix) }}
|
||||
matrix: ${{ fromJson(needs.generate-test-matrix.outputs.install-matrix) }}
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
@ -111,7 +115,7 @@ jobs:
|
|||
- generate-test-matrix
|
||||
if: needs.generate-test-matrix.outputs.detected == 'true'
|
||||
strategy:
|
||||
matrix: ${{ fromJson(needs.generate-test-matrix.outputs.matrix) }}
|
||||
matrix: ${{ fromJson(needs.generate-test-matrix.outputs.unittest-matrix) }}
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue