-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Test containers cannot be used in local workflow execution (Scala / SBT project) #501
Comments
Issue is stale and will be closed in 14 days unless there is new activity |
GitHub actions with a Maven build using the Testcontainers framework work fine on GitHub itself but fail using act:
Command used:
Steps to reproduce:
Actual behavior: job failed |
Same here, action working on github but failing in act using the "medium" configuration |
Same issue here. |
I struggled with this for a while and found a solution
|
Hi,
I encountered a problem using
act
while testing the deployment workflow of my project (https://github.com/querqy/smui/) locally. I already came across the following issues, describing how to use a "full" local build container:Steps to reproduce:
cd
into itact -P ubuntu-latest=nektos/act-environments-ubuntu:18.04
Unexpected behaviour:
Setting the experimental mode for the docker service in the build environment fails:
On github that step performs well.
Even, when commenting out this step (as experimental seems to be activated for that build container), the tests from the project that rely on test containers will fail (e.g.
MysqlCompatibilitySpec
andPostgresCompatibilitySpec
).Again, on github that step performs well.
I saw the same error when using the
full
suffixed build system:act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04-full
My impression is that the github build environment (container) and the container
act
uses, differ too much for the described use case.The text was updated successfully, but these errors were encountered: