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

add e2e tests for php, swift, oci, longevity #1215

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

rajatjindal
Copy link
Contributor

@rajatjindal rajatjindal commented Mar 1, 2023

This PR covers following:

  • added tests for php, python and swift templates. php test is disabled right now due to http-php template not working with latest spin #1210
  • added test for oci
  • added a longevity test. Idea is we check-in wasm files and they should continue to work with future version's of spin and Fermyon Cloud

@rajatjindal rajatjindal force-pushed the more-tests-2 branch 2 times, most recently from 7356776 to 064851c Compare March 1, 2023 17:58
@rajatjindal rajatjindal force-pushed the more-tests-2 branch 4 times, most recently from 4603b36 to a0d365f Compare March 2, 2023 17:56
tests/testcases/mod.rs Outdated Show resolved Hide resolved
@rajatjindal rajatjindal force-pushed the more-tests-2 branch 6 times, most recently from 7c45978 to 78a9cd9 Compare March 3, 2023 07:29
Signed-off-by: Rajat Jindal <rajatjindal83@gmail.com>
Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

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

Looks great to me! Learning some Rust macro approaches :)

}

#[tokio::test]
#[ignore] // https://github.com/fermyon/spin/issues/1210
Copy link
Member

Choose a reason for hiding this comment

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

I think it should function if the '/index.php' path is used (#1210 (comment))?

Anyways, follow-up material when ready!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, i want to update the template for php to make it work out of the box without having to have explicit index.php. in a follow up PR

@rajatjindal
Copy link
Contributor Author

Looks great to me! Learning some Rust macro approaches :)

yeah this one was fun to investigate and implement. I actually pulled it in a separate repo also. will publish a crate when I have some bandwidth.

@rajatjindal rajatjindal merged commit 9890afc into fermyon:main Mar 3, 2023
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.

None yet

3 participants