From 045782e788be77b2fd486108f276bcbfeeda7f48 Mon Sep 17 00:00:00 2001 From: Pablo Orgaz Date: Thu, 19 Oct 2023 15:26:01 +0200 Subject: [PATCH] Remove unused terraform checks --- .github/workflows/tests.yml | 2 +- .pre-commit-config.yaml | 22 +--------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 677c09596..91360c58a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,7 +40,7 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/workflows/actions/install_dependencies - name: run test - run: make test + run: make test-coverage # Run even if make test fails for coverage reports # TODO: select a better xml results displayer - name: Archive test results coverage results diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1abd0beef..fc10e87e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,24 +40,4 @@ repos: pass_filenames: false language: system types: [python] - stages: [push] - - id: terraform-docs - name: Update terraform docs - entry: cd terraform && make docs - language: system - stages: [ commit ] - - id: terraform-fmt - name: Format terraform code - entry: cd terraform && make fmt - language: system - stages: [ commit ] - - id: terraform-lint - name: Validates all Terraform configuration files with TFlint - entry: cd terraform && make lint - language: system - stages: [ commit ] - - id: terraform-validate - name: Validates all Terraform configuration files with TF validate - entry: cd terraform && make validate - language: system - stages: [ commit ] + stages: [push] \ No newline at end of file