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

Terraform TextMate Test Infrastructure #912

Merged
merged 4 commits into from
Feb 1, 2022
Merged

Terraform TextMate Test Infrastructure #912

merged 4 commits into from
Feb 1, 2022

Conversation

jpogran
Copy link
Contributor

@jpogran jpogran commented Jan 31, 2022

This commit:

  • Adds testing infrastructure using vscode-tmgrammar-test to test the Terraform tmGrammar file. A minimal example file is used to demonstrate basic testing. Additional tests will be added as grammar is modified or changed.
  • Add tmGrammar schema to project to enable VS Code to provide intellisense and minimal validation of the tmGrammar files, whether they are json or yaml.
  • Updates the DEVELOPMENT readme and adds documentation on how to edit and test the Terraform tmGrammar
  • Automatically tests the grammar on every pull request

This commit:

- Adds testing infrastructure using vscode-tmgrammar-test to test the Terraform tmGrammar file. A minimal example file is used to demonstrate basic testing. Additional tests will be added as grammar is modified or changed.
- Add tmGrammar schema to project to enable VS Code to provide intellisense and minimal validation of the tmGrammar files, whether they are json or yaml.
- Updates the DEVELOPMENT readme and adds documentation on how to edit and test the Terraform tmGrammar
- Automatically tests the grammar on every pull request
@jpogran jpogran self-assigned this Jan 31, 2022
@jpogran jpogran added ci Continuous integration/delivery related documentation Improvements or additions to documentation enhancement New feature or request labels Jan 31, 2022
@jpogran jpogran marked this pull request as ready for review January 31, 2022 17:04
Copy link
Member

@dbanck dbanck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just a minor suggestion - feel free to merge afterwards 🙂

jest.config.js Outdated Show resolved Hide resolved
Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>
DEVELOPMENT.md Outdated Show resolved Hide resolved
DEVELOPMENT.md Outdated Show resolved Hide resolved
Co-authored-by: Radek Simko <radek.simko@gmail.com>
@jpogran jpogran merged commit 59987ae into main Feb 1, 2022
@jpogran jpogran deleted the test_syntax_grammar branch February 1, 2022 13:57
@jpogran jpogran added this to the 2.20.0 milestone Feb 18, 2022
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ci Continuous integration/delivery related documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants