Uh oh!
There was an error while loading. Please reload this page.
ci: github actions test workflow - #3365
Conversation
2fedb62 to
c051a91CompareCodecov Report
@@ Coverage Diff @@## master #3365 +/- ##
==========================================
- Coverage 58.02% 56.35% -1.67%
==========================================
Files 302 304 +2 Lines 21761 26833 +5072 ==========================================
+ Hits 12626 15121 +2495 - Misses 8214 10792 +2578 + Partials 921 920 -1 |
aaa7b18 to
1802073Compare
This comment has been minimized.
This comment has been minimized.
thaJeztah
commented
Nov 22, 2021
I'm a bit confused though; why do they differ? Is it because we create it as $ ls -la /var
lrwxr-xr-x@ 1 root wheel 11 Jul 1 2019 /var -> private/var |
thaJeztah
commented
Nov 22, 2021
So, I guess (also wondering if I guess as part of the test, we'd have to resolve the path to the actual location, but it's still odd that one part gives the path of the symbolic linked location, and the other the actual location. |
30b3778 to
ca6b595Compare| path, err = filepath.EvalSymlinks(path) | ||
| assert.NilError(t, err) |
There was a problem hiding this comment.
Thanks for your review @thaJeztah, I fixed this issue by evaluating symlinks and now tests are ok on MacOS runners.
| name: Prepare git | ||
| if: matrix.os == 'windows-latest' | ||
| run: | | ||
| git config --system core.autocrlf false | ||
| git config --system core.eol lf |
There was a problem hiding this comment.
To fix the EOL issues on Windows runners, we need to disable autocrlf. See actions/checkout#135 for more info.
crazy-max
commented
Nov 23, 2021
There are still tests failing on the Windows runner and from what I see, it was already failing before this PR, so I guess we should fix that in a follow-up and mark the Windows GHA job as "allow-failure" or disable it in the meantime. WDYT @thaJeztah? |
8b7c464 to
18a7b4cCompareI have disabled tests on Windows runner in the meantime. FWIW the last time the tests were ok on AppVeyor was June 24, 2018. |
d1c4f7f to
1bf2680Compare| mkdir -p ./coverage | ||
| gotestsum -- $(shell go list ./... | grep -vE '/vendor/|/e2e/') -coverprofile=coverage.txt |
There was a problem hiding this comment.
I see this was changed, but looks like the options are left the same; do we actually use the ./coverage directory now when using this target? Or only if we use the buildx bake approach?
There was a problem hiding this comment.
As discussed moved coverage output to ./build folder.
c0a0425 to
6b4a15eCompareSigned-off-by: CrazyMax <crazy-max@users.noreply.github.com>
thaJeztah
commented
Dec 7, 2021
rebase was just |

Follow-up #3320
Switch To GitHub Actions for tests:
testworkflowand windowshost runnersappveyorandmake.ps1not needed anymore (cc @StefanScherer)Signed-off-by: CrazyMax crazy-max@users.noreply.github.com