Skip to content

Add baseline tests for Agent chart #10

Add baseline tests for Agent chart

Add baseline tests for Agent chart #10

name: Go Test
on:
push:
paths:
- 'test/datadog/**'
- 'charts/datadog/**'
pull_request:
paths:
- 'test/datadog/**'
- 'charts/datadog/**'
env:
GO111MODULE: "on"
PROJECTNAME: "helm-charts"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.20
id: go
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
version: v3.10.1
- name: Add Datadog Helm repo
run: |
helm repo add Promotheus https://prometheus-community.github.io/helm-charts
helm repo add datadog https://helm.datadoghq.com
helm repo update
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: run Go tests
run: |
helm dependency update
helm dependency build ./charts/datadog
make unit-test