Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 19 out of 31 tests are failing. #121

Open
kirankotari opened this issue May 26, 2022 · 1 comment
Open

bug: 19 out of 31 tests are failing. #121

kirankotari opened this issue May 26, 2022 · 1 comment
Assignees
Labels

Comments

@kirankotari
Copy link
Collaborator

Full test summary: pytest GitHub Action
=========================== short test summary info ============================
FAILED test/test_terraform.py::TestTerraform::test_cmd[-Plan: 0 to add, 0 to change, 0 to destroy.-0-False--var_to_output]
FAILED test/test_terraform.py::TestTerraform::test_cmd[--0-False--var_to_output]
FAILED test/test_terraform.py::TestTerraform::test_apply[var_to_output-variables0-None-test_output=test-options0]
FAILED test/test_terraform.py::TestTerraform::test_apply[var_to_output-variables1-None-test_list_output=["c","d",]-options1]
FAILED test/test_terraform.py::TestTerraform::test_apply[var_to_output-variables2-None-test_map_output={"c"="c""d"="d"}-options2]
FAILED test/test_terraform.py::TestTerraform::test_apply[var_to_output-variables3-var_to_output/test_map_var.json-test_map_output={"e"="e""f"="f"}-options3]
FAILED test/test_terraform.py::TestTerraform::test_apply[var_to_output-variables4-None-\x1b[0m\x1b[1m\x1b[32mApplycomplete!-options4]
FAILED test/test_terraform.py::TestTerraform::test_apply_with_var_file - pyth...
FAILED test/test_terraform.py::TestTerraform::test_override_default[var_to_output-variables0]
FAILED test/test_terraform.py::TestTerraform::test_output[True] - python_terr...
FAILED test/test_terraform.py::TestTerraform::test_output[False] - python_ter...
FAILED test/test_terraform.py::TestTerraform::test_destroy - python_terraform...
FAILED test/test_terraform.py::TestTerraform::test_plan[vars_require_input-variables0-1]
FAILED test/test_terraform.py::TestTerraform::test_create_workspace_with_args
FAILED test/test_terraform.py::TestTerraform::test_set_workspace_with_args - ...
FAILED test/test_terraform.py::TestTerraform::test_show_workspace - python_te...
FAILED test/test_terraform.py::TestTerraform::test_show_workspace_with_no_color
FAILED test/test_terraform.py::TestTerraform::test_delete_workspace - python_...
FAILED test/test_terraform.py::TestTerraform::test_delete_workspace_with_args
======================== 19 failed, 12 passed in 6.19s =========================

@kirankotari
Copy link
Collaborator Author

To install terraform to run test cases

permissions:
  contents: read

jobs:
  terraform:
    name: 'Terraform'
    runs-on: ubuntu-latest
    environment: production

    defaults:
      run:
        shell: bash

    steps:
    # Checkout the repository to the GitHub Actions runner
    - name: Checkout
      uses: actions/checkout@v3

    # Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token
    - name: Setup Terraform
      uses: hashicorp/setup-terraform@v1
      with:
        cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants