-
Notifications
You must be signed in to change notification settings - Fork 13
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
Maintenance: Improve CI/GHA, satisfy link checker, improve code style #351
Conversation
- CrateDB enterprise license is no more. - Linking to local HTML pages within .rst pages will not work.
@@ -8,7 +8,7 @@ jobs: | |||
runs-on: ${{ matrix.os }} | |||
strategy: | |||
matrix: | |||
os: [ubuntu-latest] | |||
os: [ubuntu-latest, macos-latest, windows-2019] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found that using windows-2019
instead of windows-2022
, which happened to become windows-latest
just recently, significantly improves runtime, so I also submitted crate/crate#12344.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^ Doesn't help on the CrateDB test suite. 😞
.github/workflows/main.yml
Outdated
isort --recursive --check --diff crate/ tests/ setup.py | ||
flake8 crate/crash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies. Dropped commit 7bd8d9f 👍.
Hi there,
this patch intended to slightly adjust the CI/GHA configuration and satisfy the documentation link checker. After discovering some more flaws and potential improvements on infrastructure and code style, more commits have been added.
Tests
CRATEDB_VERSION
environment variable, defaulting to 4.7.1 instead of 4.2.0 as before. It makes it possible to pull this axis into the test matrix on CI, see below.CI
windows-2019
image to improve runtime significantly (100%).Style
DeprecationWarning: invalid escape sequence
.With kind regards,
Andreas.
Footnotes
After resolving Problem invoking the test suite on macOS #343 and https://github.com/mfussenegger/cr8/pull/337, we will be able to also run the integration tests on the corresponding operating systems. ↩