-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add a Cygwin job to the GitHub Actions CI #91
Conversation
Codecov Report
@@ Coverage Diff @@
## master #91 +/- ##
=======================================
Coverage 68.42% 68.42%
=======================================
Files 15 15
Lines 966 966
=======================================
Hits 661 661
Misses 305 305 Continue to review full report at Codecov.
|
Thanks! But here it actually builds fine under cygwin, huh. I wonder if the build steps differ (in the GH Action, we are currently not using BuildPackages.sh, so ...) |
Yeah, maybe. Perhaps also relevant, as noted on #90, we're building the release archive of v2.4.1 in the GAP CI, whereas here we're building the development version. Not that there's any significant differences in the source, but maybe wrapping the archive introduced a problem. |
aabef93
to
0380648
Compare
As far as I am concerned, this PR is now complete and ready to be merged - except for the fact that one of the test files is failing in the Cygwin job - perhaps @ChrisJefferson has some insight? Architecture: x86_64-pc-cygwin-default64-kv8
testing: /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling/tst/tstall/pr\
ofilefile.tst
########> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\
/tst/tstall/profilefile.tst:12
# Input is:
str := ProfileFile(quicktest, rec(showOutput := false));;
# Expected output:
# But found:
Error, Unable to open file /tmp/gaptempdirBj9vAt/raw.json
########
########> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\
/tst/tstall/profilefile.tst:13
# Input is:
EndsWith(str, ".html");
# Expected output:
true
# But found:
Error, Variable: 'str' must have a value
########
########> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\
/tst/tstall/profilefile.tst:15
# Input is:
str := ProfileFile(runquicktest);;
# Expected output:
# But found:
Error, Unable to open file /tmp/gaptempdirufig9d/raw.json
########
########> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\
/tst/tstall/profilefile.tst:16
# Input is:
EndsWith(str, ".html");
# Expected output:
true
# But found:
Error, Variable: 'str' must have a value
########
########> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\
/tst/tstall/profilefile.tst:20
# Input is:
str := ProfilePackage("transgrp", rec(indir := "", showOutput := false));;
# Expected output:
# But found:
Error, Unable to open file /tmp/gaptempdirW63OIM/raw.json
########
########> Diff in /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling\
/tst/tstall/profilefile.tst:21
# Input is:
EndsWith(str, ".html");
# Expected output:
true
# But found:
Error, Variable: 'str' must have a value
########
15 ms (0 ms GC) and 94.9KB allocated for /cygdrive/d/a/profiling/profili\
ng/gaproot/pkg/profiling/tst/tstall/profilefile.tst
-----------------------------------
total 15 ms (0 ms GC) and 94.9KB allocated
6 failures in 1 of 1 files
Test failed: /cygdrive/d/a/profiling/profiling/gaproot/pkg/profiling/tst/tstal\
l/profilefile.tst |
In the first instance, this is the error that is being triggering: Lines 294 to 302 in f55808f
called from: Lines 8 to 16 in f55808f
called from: Lines 1001 to 1027 in f55808f
|
I've added a HACK commit to inspect some values, and see this:
I think the |
Do different GAP sessions in Cygwin have access to different temporary directories? Perhaps there is some disagreement here because the different copies of GAP, and an ability to access each other's files. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
82d2ca8
to
16142aa
Compare
All seems to be alright now, and I was talking to @ChrisJefferson earlier and he said if skipping the test file worked, then he's happy. So I'll merge. |
See gap-packages/io#97 and #90.
This still uses the non-canonical versions of the
gap-actions
actions, so it's not what we want to use long term. But for now it could help to get #90 resolved.