-
Notifications
You must be signed in to change notification settings - Fork 166
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
TestLintFindProjectFromPath test fail on v1.6.25 #307
Comments
All tests passed on my machine and on CI. I'll take a look tonight. |
In case it matters, here are versions used:
|
Yes. I can build the package correctly on my system, but this fails on GHA in archlinux docker image with minimum packages installed, sometimes this happens when another dependency in building package should be added. https://github.com/aminvakil/aur/actions/runs/5292060366/jobs/9578459512#step:11:177
https://github.com/aminvakil/aur/actions/runs/5292060366/jobs/9578459512#step:11:258
|
Also actionlint 1.6.24 built correctly last night on nightly CI. https://github.com/aminvakil/aur/actions/runs/5285448927/jobs/9563946035 Edit: I just realized the test has been added in 1.6.25 . |
I also applied this 88c8bc0 and changed |
Thank you for the investigation. I'd like to try the same Arch Linux container. Would you tell me what container is used on your CI? Specifically
I want to know what |
This is a custom docker image maintained here: https://github.com/aminvakil/docker-archlinux/blob/master/Dockerfile_devel It can get used from here: But I'd suggest creating a PR in https://github.com/aminvakil/aur which everything has been taken care of, as docker image's entrypoint is GHA will pick every PR which you make in aminvakil/aur, look for PKGBUILD changes, and runs workflow on that package, so you should just change actionlint/PKGBUILD, and it will get run and you can test. Try adding a whitespace to PKGBUILD somewhere, I'll try to help if there was any issue with your PR. |
Thank you for the details. I think forking your repository and sending PR to the forked repository would be a good way for my investigation (since you need to approve PRs to run CI). I'll try it tomorrow. |
You won't need my approval. This is the repository policy on running actions. |
Today I could reproduce this issue in my forked repository. I'll investigate what is happening. https://github.com/rhysd/aur-for-actionlint-bug/actions/runs/5312477943/jobs/9617034652 |
Please tell me if there was any problem in running CI, ... |
Since I'll make a PR to fix test failure soon. |
I made a PR. aminvakil/aur#281 After merging this PR, tests for v1.6.25 should pass. |
Merged, shouldn't this get fixed here though? Why is |
aminvakil/aur#274 tests passed and merged. You can see the result https://aur.archlinux.org/cgit/aur.git/log/?h=actionlint |
I'll add fix in this repository as well. However, for releasing v1.6.25, the fix in your side would be necessary until the next version (probably v1.6.26) is released.
|
Yes.
I don't see the point of this test which does not differ I just checked and However this is not related to this issue and it has been fixed, so I will close it. Thanks for your help! |
There is no guarantee that |
Anyway, this is just an issue of test case. I'll add some hack such as dynamically creating a fake |
instead of using actionlint's `.git` directory
I fixed the test case to work even if |
Thanks, I'll also create an actionlint-git package which uses latest commit of master, so it can be tested every night too. |
I've created https://aur.archlinux.org/packages/actionlint-git and tested here: It works without creating |
Running
go test -v ./ ./scripts/...
on v1.6.25 fails with this error:Although it says no error was detected, but it fails, I haven't investigated more.
Full log: https://github.com/aminvakil/aur/actions/runs/5282061811/jobs/9556494234?pr=274#step:11:1968
Tests are running every night and it was fine during the previous upgrades, you can see more in github repository as well.
The text was updated successfully, but these errors were encountered: