Commit d3d32d0f authored by Pierre SMEYERS's avatar Pierre SMEYERS
Browse files

Merge branch '2-change_variable_behaviour' into 'master'

feat: Change boolean variable behaviour

Closes #2

See merge request to-be-continuous/postman!1
parents 84acf610 3baa190f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ It uses the following variable:
| `POSTMAN_IMAGE`       | The Docker image used to run Postman CLI. | `postman/newman:latest` |
| `POSTMAN_COLLECTIONS` | The matcher to select Postman collection file(s) to run. | `postman/*collection.json` |
| `POSTMAN_EXTRA_ARGS`  | Newman extra [run options](https://github.com/postmanlabs/newman#command-line-options) (to use global variables, an environment or a data source for e.g.) | _none_ |
| `REVIEW_ENABLED`      | Set to enable Postman tests on review environments (dynamic environments instantiated on development branches) | _none_ (disabled) |
| `REVIEW_ENABLED`      | Set to `true` to enable Postman tests on review environments (dynamic environments instantiated on development branches) | _none_ (disabled) |

### Unit tests report integration

+2 −2
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ stages:
    fi
  }

  if [[ -z "$TEMPLATE_CHECK_UPDATE_DISABLED" ]]; then check_for_update postman "1.2.0"; fi
  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update postman "1.2.0"; fi
  unscope_variables

  # ENDSCRIPT
@@ -238,6 +238,6 @@ postman:
    # on production and integration branch(es): auto (on_success)
    - if: '$CI_COMMIT_REF_NAME =~ $PROD_REF || $CI_COMMIT_REF_NAME =~ $INTEG_REF'
    # on other branch(es): manual & non-blocking if $REVIEW_ENABLED set
    - if: $REVIEW_ENABLED
    - if: '$REVIEW_ENABLED == "true"'
      when: manual
      allow_failure: true