Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Fix yaml linting issue in ci.yml file and getting tests to run #248

Merged
merged 6 commits into from
Dec 23, 2024

Conversation

willkg
Copy link
Member

@willkg willkg commented Dec 23, 2024

I needed to figure out if CI worked, so I did a cosmetic fix to the ci.yml file.

That unearthed some problem with linkify-it or markdown-it. Updating jsdoc from 4.0.0 to 4.0.4 got those tests passing, but only for Python 3.8.

We want to drop support for Python 3.8 anyhow, so I dropped that now so that all the environments are failing the same way. But that didn't pan out as I had hoped.

Turns out Sphinx v7.3.0 includes a cosmetic change that's not in the changelog that drops the " --" from param lists if there's no param description. I added explicit handling for that.

That gets CI working again.

@willkg willkg changed the title Fix yaml linting issue in ci.yml file Fix yaml linting issue in ci.yml file and getting tests to run Dec 23, 2024
@willkg willkg force-pushed the ci-file-linting branch 2 times, most recently from df122e3 to 2e05d9d Compare December 23, 2024 18:31
Sphinx 7.3.0 included a cosmetic change to param lists where if the
param has no description, it omits the " --". That's fine except
sphinx-js tests are very fragile in respects to the Sphinx output. This
includes Sphinx < 7.3.0 and Sphinx >= 7.3.0 expected output for relevant
tests.
u'' is a Python 2 thing we don't need anymore.
This removes the "npm list --all" call I added earlier to reduce test
output.
@willkg willkg merged commit 15307af into master Dec 23, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant