mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #501] Test containers cannot be used in local workflow execution (Scala / SBT project) #344
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#344
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pbartusch on GitHub (Jan 23, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/501
Hi,
I encountered a problem using
actwhile 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:
cdinto itact -P ubuntu-latest=nektos/act-environments-ubuntu:18.04Unexpected 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.
MysqlCompatibilitySpecandPostgresCompatibilitySpec).Again, on github that step performs well.
I saw the same error when using the
fullsuffixed build system:act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04-fullMy impression is that the github build environment (container) and the container
actuses, differ too much for the described use case.@github-actions[bot] commented on GitHub (Feb 23, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@McPringle commented on GitHub (Apr 28, 2023):
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
Expected behavior: job successful, like on GitHub
@cltec commented on GitHub (Apr 16, 2024):
Same here, action working on github but failing in act using the "medium" configuration
@tschuehly commented on GitHub (Apr 29, 2024):
Same issue here.
@TNorden commented on GitHub (Sep 11, 2024):
I struggled with this for a while and found a solution