<commit_before># Tectonic Installer Tests


## Running basic tests on PRs

Our basic set of tests includes:
- Code linting
- UI tests
- Backend unit tests

They are run on **every** PR by default.

### Actions required
- **none**

### FAQ
- *How do I retrigger the tests?*

  Comment with `ok to test` on the PR.


## Running smoke tests on PRs

In addition to our basic set of tests we have smoke tests. These test the
Tectonic installer on our supported platforms:
- AWS
- Azure
- Bare metal

### Actions required
- Add the `run-smoke-tests` GitHub label
- Add the `platform/<xxx>` GitHub label for **each** platform you want to run
  tests against
  
### FAQ
- *How do I retrigger the tests?*

  Comment with `ok to test` on the PR.

- *I forgot to add the GitHub labels. Can I add them after creating the PR?*

  Yes, just add the GitHub labels and comment `ok to test` on the PR.

- *What if I only add the `run-smoke-tests` GitHub label, but no
  `platform/<xxx>` label?*

  No smoke tests will be executed.
  
- *What if I trigger the tests twice in a small time frame?*

  Triggering the tests twice in a small time frame results in two test
  executions. The result of the most recent execution will be reported as a PR
  status in GitHub.

- *What can I do in case I run into test flakes continually?*<commit_msg>Extend testing README.md for external contributors without admin rights<commit_after># Tectonic Installer Tests


## Running basic tests on PRs

Our basic set of tests includes:
- Code linting
- UI tests
- Backend unit tests

They are run on **every** PR by default.

### Actions required
- **none**

### FAQ
- *I am not part of the `coreos` or `coreos-inc` GitHub organization. Why are
  the tests not being executed on my changes?*

  Pull requests by external contributors need to be checked before they are
  tested by our Jenkins setup. Please ask a [maintainer](../MAINTAINERS) to mark
  your PR via commenting `ok to test`.

- *How do I retrigger the tests?*

  Comment with `ok to test` on the PR.


## Running smoke tests on PRs

In addition to our basic set of tests we have smoke tests. These test the
Tectonic installer on our supported platforms:
- AWS
- Azure
- Bare metal

### Actions required
- Add the `run-smoke-tests` GitHub label
- Add the `platform/<xxx>` GitHub label for **each** platform you want to run
  tests against
  
### FAQ
- *I am not able to add labels, what should I do?*

  Please ask one of the repository [maintainers](../MAINTAINERS) to add the
  labels.

- *How do I retrigger the tests?*

  Comment with `ok to test` on the PR.

- *I forgot to add the GitHub labels. Can I add them after creating the PR?*

  Yes, just add the GitHub labels and comment `ok to test` on the PR.

- *What if I only add the `run-smoke-tests` GitHub label, but no
  `platform/<xxx>` label?*

  No smoke tests will be executed.
  
- *What if I trigger the tests twice in a small time frame?*

  Triggering the tests twice in a small time frame results in two test
  executions. The result of the most recent execution will be reported as a PR
  status in GitHub.

- *What can I do in case I run into test flakes continually?*
{'fraction_non_alphanumeric': 0.07548957675300064, 'fraction_numerical': 0.0, 'mean_word_length': 3.3383561643835615, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7438252', 'n_tokens_mistral': 963, 'n_tokens_neox': 913, 'n_words': 512}