-
Notifications
You must be signed in to change notification settings - Fork 5
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
GitHub Action setup #15
Conversation
f52ec68
to
42937bf
Compare
42937bf
to
8554646
Compare
@rocky This is work-in-progress to add a basic GitHub Actions workflow. That comes from here and seems to be a hard-coded path. Can you tell if this is intentional or if this should be fixed? There's one or two other test errors, but I haven't checked them yet. |
This was not intentional. I hope #16 will address this. How this kind of things happens... (you can skip this if you are not interested)... I start out with scripts with hard-coded paths and those get turned into ".in" files after going over and generalizing them. Here I missed a place, or subsequently made a change in |
Note: CircleCI is showing the same errors, but the job doesn't fail (I have no experience with CircleCI): https://app.circleci.com/pipelines/github/rocky/bashdb/36/workflows/5f1aad78-c289-43b0-88cb-0ad89fa8e154/jobs/24?invite=true#step-108-10074_61 |
One of cool things that CircleCI provides is that you can run CI with ssh enabled and look around at the environment or rerun. (Another great thing about CircleCI is that is generally very fast, much faster than workflows). I'll look into the failure when I get a chance to see what's up when I get a chance. |
Thanks! |
Great work! Yes, not isolating tests is bad. If you have ideas on how to isolate better, please do! |
94667c9
to
3748a04
Compare
I changed The only remaining test failure is |
Many thanks.
We should be turning off pygmentize in the tests. It makes testing way too fragile. One way to do this is possibly to remove pygmentize altogether in testing environments. Another way is to not use Pygmentize if some environment variable is set. All CI system I know about set environment variable (I had meant to mention this with respect to a couple of your PRs as well.) |
80c0aec
to
4b070ae
Compare
bff9bd7
to
045a0aa
Compare
@rocky I think it's ready now and I'd be glad for your review. AFAIK most tests already have highlighting turned off. But |
Excellent! Many good changes here. Let's merge and iterate - I will apply this to 5.1 and see if there is stuff from this branch that can be ported to zshdb. |
|
Adds CI using GitHub Actions.
It fixes the failing tests, most notably 'bug-test-log', which compared unstable highlighting of Pygments. With this PR, the highlighted lines are stripped before comparing against the
.right
file.