diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index 324d45ea..aa1b714e 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 d96a62fa..a537a14e 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 similarity index 100% rename from registry-scanner/pkg/health/health.go rename to pkg/health/health.go diff --git a/registry-scanner/pkg/health/health_test.go b/pkg/health/health_test.go similarity index 100% rename from registry-scanner/pkg/health/health_test.go rename to pkg/health/health_test.go