diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 617d8bec..8b372f8c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,26 +99,25 @@ jobs: terraform plan fi - - name: Terraform apply - continue-on-error: true - run: | - if [[ ${{ matrix.package }} != "locals_variables" ]]; then - cd "tests/${{ matrix.package }}" - terraform apply -auto-approve - fi - - name: Terraform apply - run: | - if [[ ${{ matrix.package }} != "locals_variables" ]]; then - cd "tests/${{ matrix.package }}" - terraform apply -auto-approve - fi + # - name: Terraform apply + # continue-on-error: true + # run: | + # if [[ ${{ matrix.package }} != "locals_variables" ]]; then + # cd "tests/${{ matrix.package }}" + # terraform apply -auto-approve + # fi + # - name: Terraform apply + # run: | + # if [[ ${{ matrix.package }} != "locals_variables" ]]; then + # cd "tests/${{ matrix.package }}" + # terraform apply -auto-approve + # fi - name: send log to log group continue-on-error: true run: | aws logs put-log-events \ - --log-group-name "gr-test"\ - --log-stream-name "test2" \ + --log-group-name "gr-test" --log-stream-name "test2" \ --log-events "[{\"timestamp\": $(date +%s)000, \"message\": \"This is a log message sent to CloudWatch.\"}]" - name: Validate Lambda Function @@ -129,19 +128,19 @@ jobs: --log-group-name "/aws/lambda/$logGroupName" \ --filter-pattern "ERROR" - - name: Terraform destroy - continue-on-error: true - run: | - if [[ ${{ matrix.package }} != "locals_variables" ]];then - cd "tests/${{ matrix.package }}" - terraform destroy -auto-approve - fi - - name: Terraform destroy in case of an error - run: | - if [[ ${{ matrix.package }} != "locals_variables" ]];then - cd "tests/${{ matrix.package }}" - terraform destroy -auto-approve - fi + # - name: Terraform destroy + # continue-on-error: true + # run: | + # if [[ ${{ matrix.package }} != "locals_variables" ]];then + # cd "tests/${{ matrix.package }}" + # terraform destroy -auto-approve + # fi + # - name: Terraform destroy in case of an error + # run: | + # if [[ ${{ matrix.package }} != "locals_variables" ]];then + # cd "tests/${{ matrix.package }}" + # terraform destroy -auto-approve + # fi