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

feat: Migrate shell scripts for cookiecutter e2e tests to Nox. #3

Closed
wants to merge 10 commits into from

Conversation

mkranna
Copy link
Owner

@mkranna mkranna commented Mar 30, 2023

Closes meltano#1423: Migrate shell scripts for cookiecutter e2e tests to Nox.

  • First, I added a new parametrised session test_cookiecutter to the main project noxfile.py, which replaces the test_cookiercutter.sh (parametrised by the json-files in e2e-tests/cookiecutter folder). To run all cookiecutter replay files, use the following terminal command: nox --session=test_cookiecutter.

  • Second, I updated the cookiecutter-e2e.yml to simply call the nox session as above. It is no longer required to maintain a list of the replay files in that YML.

  • Comment: the advantage of the current cookiecutter-e2e.yml is that is it no longer lists replay files, but on the other hand the tests takes longer since they are not run in parallel. Alternatively, I can call tests in parallel as it was done before.


📚 Documentation preview 📚: https://meltano-sdk--3.org.readthedocs.build/en/3/

@mkranna mkranna changed the title feat: Noxfile for cookiecutter feat: Migrate shell scripts for cookiecutter e2e tests to Nox. Mar 30, 2023
@mkranna mkranna force-pushed the noxfile_for_cookiecutter branch from 102da3e to 2da3353 Compare March 30, 2023 11:29
@mkranna mkranna closed this Apr 20, 2023
@mkranna mkranna deleted the noxfile_for_cookiecutter branch April 20, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Migrate shell scripts for cookiecutter e2e tests to Nox
1 participant