-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[pulsar-next] Get specs passing #7
base: re-sync-superstring-decaff
Are you sure you want to change the base?
[pulsar-next] Get specs passing #7
Conversation
…by reducing churn on `patchwatcher` resubscription.
OK, this PR should make it so that all the specs pass with the PulsarNext versions of In In And there was one line that got omitted during (I assume manual) decaffeination of |
@savetheclocktower I'd love to see this one merged, think you could add a quick: on:
- push:
- branches: ['master']
- pull_request: To |
Too scared! Kidding. I'll make that change today. |
OK, I've run into a number of potholes that I can only guess are due to my general unfamiliarity with GitHub Actions. You can see the commit history here as I tried a number of strategies, and the result is that the Ubuntu tests produced failures that I don't see locally on macOS. I'd settle for getting both jobs to run to their entirety even if one of them fails, but I can't immediately figure out how to do that. @DeeDeeG, is there anything obvious I'm missing here? |
Sorry I sent you down that rabbit hole then. I don't see anything that stands out immediately to me other than super old versions of the tools used to install NodeJS, but can't imagine that'd be the source of our issue. |
I'll add that I was able to confirm tests are passing successfully on both So I can say confidently that this PR doesn't seem to break anything we test for. For future reference if it helps for setting up CI here, I did use my Pulsar dev environment, which is on NodeJS v16.20.0 and I'm on Windows 10. |
This branch is meant for PulsarNext, which is on Electron 30, which runs on Node 20.11.1 — so my goal was to get them to pass on that Node version. And I imagine that's why CI (on I'm confused by the errors I was getting about Visual Studio — I imagine that Windows images have those sorts of tools installed, so I'm sure there's something trivial I'm not seeing. |
Ah, this needs matrix strategy Example diff: Test:
strategy:
+ fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
node_arch:
- x64
runs-on: ${{ matrix.os }} (The default Edit to add: We can potentially mark the Windows job to run with failures allowed, so we can try it without failing the whole workflow status, if that's desirable... Such as while still debugging what's wrong with it. |
os: [ubuntu-latest, macos-latest, windows-latest] | ||
os: [ubuntu-latest, macos-latest] | ||
node_arch: | ||
- x64 |
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.
This should allow e.g. the macOS matrix job to proceed if the Ubuntu job fails, for whatever reason.
- x64 | |
- x64 | |
fail-fast: false |
(I hope I got the indent level right...)
Fixes #6.
Clearly we need to clear out the cobwebs in this repo! I was only able to
npm install
using Node 20 (rather than something newer), plus I needed to update theelectron
dependency and skip linting and documentation generation.Also, there are a lot of test failures — about half of them because
text-buffer
issues a deprecation warning for something that is routinely done in thetext-buffer
test suite! But that can be tackled later. My goal here is just to get theMarkerLayer
specs passing so I can, in turn, get theTextEditor
specs passing in PulsarNext.