From 62cf9ca972a52a27f21b6aa660ecf7184b422b0c Mon Sep 17 00:00:00 2001 From: Jasmin Oster Date: Thu, 12 Dec 2024 08:52:11 +0100 Subject: [PATCH] Remove codeclimate in favor of golangci-lint --- .codeclimate.yml | 5 ----- .github/workflows/quality.yml | 14 +++----------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 3a070a57..00000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,5 +0,0 @@ -exclude_patterns: - - "**/*_test.go" - - "**/test/" - - "**/tests/" - - "anxcloud/internal/mockapi/" diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index c92b71c6..f9b1c158 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -77,17 +77,9 @@ jobs: with: go-version: ${{env.GO_VERSION}} - - name: run integration tests and post coverage to codeclimate - uses: paambaati/codeclimate-action@v9.0.0 + - name: Run acceptance tests + run: make testacc env: + ANEXIA_TOKEN: ${{ secrets.ANEXIA_TOKEN }} ANEXIA_LOCATION_ID: 52b5f6b2fd3a4a7eaaedf1a7c019e9ea ANEXIA_VLAN_ID: 00a239d617504e4ab49122efe0d27657 - ANEXIA_TOKEN: ${{ secrets.ANEXIA_TOKEN }} - CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_COVERAGE_ID }} - - # poor girls ternary operator - TESTARGS: ${{ (github.ref_type != 'tag' && github.ref_name != 'main') && '-short' || '' }} - with: - prefix: github.com/anexia-it/terraform-provider-anxcloud - coverageCommand: make testacc - coverageLocations: coverage.out:gocov