From af2f8a11fd3644cf9f5bed1d0a28c83670cb6059 Mon Sep 17 00:00:00 2001 From: Navid Yaghoobi Date: Mon, 4 Mar 2024 23:03:35 +1100 Subject: [PATCH] unit test + e2e test Signed-off-by: Navid Yaghoobi --- .github/workflows/go.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d07c81c1..3016063b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -65,12 +65,16 @@ jobs: with: go-version: '1.21.4' - uses: actions/checkout@v3 + - uses: JarvusInnovations/background-action@v1 + with: + run: | + bash hack/install_dep.sh + make binary + ./bin/prometheus-podman-exporter --collector.enable-all --collector.store_labels + - run: | - bash hack/install_dep.sh yum -y install jq make .install.bats - make binary - ./bin/prometheus-podman-exporter --collector.enable-all --collector.store_labels & make test-e2e build_binary: