-
-
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
Issue: better contributing documentation for act #765
Comments
They are working for me in my ide.
All Tests are still required to succeed on linux and macOS, otherwise a PR will not be merged. I'm using vscode + go tools, make shure you have go 1.16 and no older version.
I hate the macOS Test suite for this project, becauses it fails far to often due to docker hub rate limits |
Not sure what you mean, Lines 19 to 25 in 0ff204b
no, they are not |
You should be using arm64 version of Go |
Thanks all for prompt responses! I just figured out that Since you all having no issues with running tests, something must have been wrong with my setup or I'm doing something wrong. I will try this later (maybe with an intel mac) and share my results. Have a good weekend everyone :) |
well, it's not wrong usage in Go, just wrong in this project, depends if test depend on whole package or just file |
I guess the issue is solved so I'm going to close it. Ping me here or on Gitter if you still have issues.
Please direct your hate towards Apple/Docker for having shitty licencing :) (because of that, |
Thanks @catthehacker 👍🏼 I understand macOS can be tricky to evaluate the build and test so I also tried with Github Codespace (Linux).
It's probably related to docker issue and I'm not intending to reopen this issue. |
@ryuheechul |
@catthehacker Cool and thanks! So I ran it on Github Codespace and all tests have passed 👍🏼
|
Anyone also didn't know what |
I'm going to hijack this issue to improve docs. |
Another TIL thanks to this issue, nektos/act#765
Another TIL thanks to this issue, nektos/act#765
System information
act
: N/Aact
version: main branch, 0ff204bExpected behaviour
go test ./...
run successfullyActual behaviour
Many test files fail including
https://github.com/nektos/act/blob/0ff204b61523b0137d41c4479a132fde87211327/pkg/runner/step_context_test.go
Workflow and/or repository
N/A
Steps to reproduce
Either
make test
orgo test ./...
act
outputN/A
Description
It looks like many tests are broken? including
act/pkg/runner/step_context_test.go
Lines 1 to 29 in 0ff204b
And indeed the file misses most of references.
just curious, if test files and testing is being ignored in the process of development?
Why raise this issue?
I tried to see if I could contribute to resolve this issue, #739
And I just cloned
act
for the first time and I find that not being able to run tests difficult to continue. Hence, became curious to see what's the stance of tests for this code/repository.The text was updated successfully, but these errors were encountered: