-
Notifications
You must be signed in to change notification settings - Fork 238
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
ci: properly configure smoke test #1003
Conversation
ff1dc6c
to
d1fd7eb
Compare
36d3fd9
to
35b873d
Compare
@@ -21,4 +21,3 @@ jobs: | |||
- uses: AriPerkkio/eslint-remote-tester-run-action@v3 | |||
with: | |||
issue-title: 'Results of weekly scheduled smoke test' | |||
eslint-remote-tester-config: smoke-test/eslint-remote-tester.config.js |
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.
The action doesn't actually pick these .ts
configurations by default since action parameter has default value for .js
config: https://github.com/AriPerkkio/eslint-remote-tester-run-action/blob/e72eaaa36788a76ef9044271bebbbd83377e7d6d/action.yml#L14-L17
So this needs to be specified here:
eslint-remote-tester-config: smoke-test/eslint-remote-tester.config.ts
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.
Ah yeah I wondered if that might be the case 👍
@@ -111,6 +111,8 @@ | |||
"eslint-plugin-import": "^2.25.1", | |||
"eslint-plugin-node": "^11.0.0", | |||
"eslint-plugin-prettier": "^3.4.1", | |||
"eslint-remote-tester": "^2.1.0", |
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.
"eslint-remote-tester": "^2.1.0", | |
"eslint-remote-tester": "^2.1.1", |
35b873d
to
351a57e
Compare
@AriPerkkio thanks for the review - tbh I'm sort of on the fence about sticking with this now that I know you've actually been running the same workflow for our plugin and from what I can tell we've never actually had an error; it seems like a bit of a waste of power to be running the same ~6 hour workflow twice... |
(I'm going to merge now just so it's fixed, but still thinking about maybe reverting) |
@AriPerkkio random other question: does the remote tester support anyway to handle linting repositories multiple times with different rule configurations? My thinking is about how rule logic can be changed with options, so running against e.g. I can't find anything in the docs that look like a way to do this - if I've not missed anything, let me know if you think this could be useful and I can open a new issue to continue discussing. |
🎉 This PR is included in version 25.3.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@@ -21,4 +21,4 @@ jobs: | |||
- uses: AriPerkkio/eslint-remote-tester-run-action@v3 | |||
with: | |||
issue-title: 'Results of weekly scheduled smoke test' | |||
eslint-remote-tester-config: smoke-test/eslint-remote-tester.config.js | |||
eslint-remote-tester-config: smoke-test/eslint-remote-tester.config.ts |
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.
@G-Rath this path is still incorrect 😄
- eslint-remote-tester-config: smoke-test/eslint-remote-tester.config.ts
+ eslint-remote-tester-config: eslint-remote-tester.config.ts
Edit: Right there's an open PR for this, great!
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.
Yup
At the moment, no. I've also had this idea before but didn't proceed with implementing it. I think the implementation wouldn't be that difficult though. Currently it is only possible to initialize |
I've been running the Running these tests in repository where main branch contains unreleased changes makes a lot sense, e.g. I think you'll get the most from these tests if |
whoops