Skip to content

Commit 773e0b9

Browse files
chore: add job to run unit tests (#594)
And fix the testdata file. Signed-off-by: Simon Pasquier <[email protected]>
1 parent b1c2cc7 commit 773e0b9

File tree

2 files changed

+4
-1
lines changed
  • .github/workflows
  • pkg/controllers/monitoring/monitoring-stack/testdata

2 files changed

+4
-1
lines changed

Diff for: .github/workflows/pr-checks.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
- name: Use tools cache
3434
uses: ./.github/tools-cache
3535

36+
- name: Run unit tests
37+
run: make test-unit
38+
3639
- name: Lint Go code
3740
run: make lint-golang
3841

Diff for: pkg/controllers/monitoring/monitoring-stack/testdata/tls

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
metrics_path: /metrics
3939
scheme: https
4040
tls_config:
41-
ca_file: "/etc/alertmanager/secrets/alertmanager-tls/ca.pem"
41+
ca_file: "/etc/prometheus/secrets/alertmanager-tls/ca.pem"
4242
server_name: "ms-with-tls-alertmanager"
4343
relabel_configs:
4444
- source_labels:

0 commit comments

Comments
 (0)