summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci-tests.yaml7
-rw-r--r--cmd/run.go2
-rw-r--r--pkg/health/health.go (renamed from registry-scanner/pkg/health/health.go)0
-rw-r--r--pkg/health/health_test.go (renamed from registry-scanner/pkg/health/health_test.go)0
4 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml
index 324d45e..aa1b714 100644
--- a/.github/workflows/ci-tests.yaml
+++ b/.github/workflows/ci-tests.yaml
@@ -140,4 +140,9 @@ jobs:
env:
GNUPG_DISABLED: true
run: |
- make test \ No newline at end of file
+ make test
+ - name: Upload code coverage information to codecov.io
+ uses: codecov/codecov-action@v5
+ with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ files: coverage.out \ No newline at end of file
diff --git a/cmd/run.go b/cmd/run.go
index d96a62f..a537a14 100644
--- a/cmd/run.go
+++ b/cmd/run.go
@@ -12,11 +12,11 @@ import (
"github.com/argoproj-labs/argocd-image-updater/pkg/argocd"
"github.com/argoproj-labs/argocd-image-updater/pkg/common"
+ "github.com/argoproj-labs/argocd-image-updater/pkg/health"
"github.com/argoproj-labs/argocd-image-updater/pkg/metrics"
"github.com/argoproj-labs/argocd-image-updater/pkg/registry"
"github.com/argoproj-labs/argocd-image-updater/pkg/version"
"github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/env"
- "github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/health"
"github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/log"
"github.com/argoproj/argo-cd/v2/reposerver/askpass"
diff --git a/registry-scanner/pkg/health/health.go b/pkg/health/health.go
index cbc4977..cbc4977 100644
--- a/registry-scanner/pkg/health/health.go
+++ b/pkg/health/health.go
diff --git a/registry-scanner/pkg/health/health_test.go b/pkg/health/health_test.go
index b5670f5..b5670f5 100644
--- a/registry-scanner/pkg/health/health_test.go
+++ b/pkg/health/health_test.go