Skip to content

Commit 502e7d2

Browse files
Run strict lints in unit tests
1 parent 936081e commit 502e7d2

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/unit-tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
unit-tests:
10-
name: Unit Tests
10+
name: Lint and Unit Tests
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
@@ -20,6 +20,15 @@ jobs:
2020
- name: Install helm-unittest plugin
2121
run: helm plugin install https://github.com/helm-unittest/helm-unittest
2222

23+
- name: Build chart dependencies
24+
run: helm dependency build ./charts/ontoserver
25+
26+
- name: Run Helm lint
27+
run: |
28+
helm lint --strict ./charts/ontoserver
29+
helm lint --strict ./charts/ontoserver-extras
30+
helm lint --strict ./charts/ontoserver-indexer
31+
2332
- name: Run unit tests
2433
run: |
2534
helm unittest ./charts/ontoserver

charts/ontoserver-extras/Chart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ type: application
55
version: 0.1.0
66
appVersion: "ctsa-6"
77
home: https://ontoserver.csiro.au
8+
icon: https://raw.githubusercontent.com/aehrc/ontoserver-deploy/main/icons/ontoserver-extras.png
89
sources:
910
- https://github.com/aehrc/ontoserver-deploy
1011
keywords:

charts/ontoserver-indexer/Chart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ type: application
55
version: 0.1.0
66
appVersion: "ctsa-6"
77
home: https://ontoserver.csiro.au
8+
icon: https://raw.githubusercontent.com/aehrc/ontoserver-deploy/main/icons/ontoserver-indexer.png
89
sources:
910
- https://github.com/aehrc/ontoserver-deploy
1011
keywords:

charts/ontoserver/Chart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ type: application
55
version: 0.1.0
66
appVersion: "ctsa-6"
77
home: https://ontoserver.csiro.au
8+
icon: https://raw.githubusercontent.com/aehrc/ontoserver-deploy/main/icons/ontoserver.png
89
sources:
910
- https://github.com/aehrc/ontoserver-deploy
1011
keywords:

0 commit comments

Comments
 (0)