-
Notifications
You must be signed in to change notification settings - Fork 6
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: add support for TES v1.1.0 #31
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev #31 +/- ##
==========================================
+ Coverage 99.62% 99.69% +0.07%
==========================================
Files 10 11 +1
Lines 527 653 +126
==========================================
+ Hits 525 651 +126
Misses 2 2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Thanks @lbeckman314. This PR will just have the new model and basic backward compatibility to the existing codebase. |
Ah, understood! Would it work for me to rebase the other tests from #29 onto this PR for future development? |
Yes, that would work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool stuff. I think the unit tests would really benefit from making use of parametrization, especially to make them more future proof when additional TES versions appear, or when generalizing the test runner for use with other specs (which likely use other versions).
Very sorry for my very late review, been too busy! 🙈 |
No problem, thank you Alex for reviewing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
However, before merging, let's first pull in @lbeckman314's test cases :)
* Add tests for optional filetypes in inputs and outputs * Add test for wildcards in task outputs * Add test for backend_parameters flag in task resources * Add v1.0/v1.1 compatible test for resources in task creation test * Add test for streamable flag in tesInput * Update title and description in streamable flag test * Add test for ignore_error flag * Update title and description in ignore_error flag test * Add test for CANCELING state to delete cloud resources - Add check for CANCELING state in functions test * Update v0.1 task creation tests - Remove extra executors - Change executor images from ubuntu to alpine - Update tags with specific test names - Change default executor commands to `echo hello` - Update version format to fit new versioning scheme - Remove v1.0.0 from v1.1 tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is too big for me to efficiently review. But from what I can see it looks good to me, and we have already discussed and resolved several issues. I'd say, let's merge it, and if we stumble on any bugs or unintended behaviors, we can create issues for those.
Sure. I have also reviewed it multiple times now. I think it should work. |
Co-authored-by: Liam Beckman <lbeckman314@gmail.com>
Co-authored-by: Liam Beckman <lbeckman314@gmail.com> feat: add filter functionality and tests (elixir-cloud-aai#33) feat: add test file description in report (elixir-cloud-aai#41) feat: add path parameters (elixir-cloud-aai#44) feat: add test for ignore_error flag (TES v1.1.0) (elixir-cloud-aai#45) feat: add tests for pagination options (elixir-cloud-aai#47) feat: support query parameter transformation (elixir-cloud-aai#46) Exit test suite with error code if any tests fail
Fixes #11.
Added TES v1.1.0
pydantic
model