Closed Bug 1585726 Opened 6 years ago Closed 5 years ago

Enable eslint unittests on Windows and Mac in CI

Categories

(Developer Infrastructure :: Lint and Formatting, task, P1)

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: ahal, Assigned: gbrown)

Details

(Whiteboard: [dev-prod-2020])

Attachments

(1 file)

We currently skip them because 'node' doesn't exist on the workers:
https://searchfox.org/mozilla-central/source/tools/lint/test/python.ini#6

But now that node is a toolchain, it should be pretty straightforward to get this dependency added and run the tests. These likely would have caught some Windows Python 3 regressions that recently landed.

Priority: -- → P3

Hey Geoff, there have been some requests coming in for this and seems like it's becoming a higher priority. Would you be able to add it to your queue?

For extra context, the Windows and Mac tests are skipped because we didn't have node on the workers:
https://searchfox.org/mozilla-central/source/tools/lint/test/python.ini#6

But this was before we had node as a toolchain task. So I think now we could make the source-test-python-mozlint task depend on the node toolchain tasks and ensure the dependency is installed that way. I'd vote we switch Linux to using this method while we're at it as well.

Was going to provide you with an example, but turns out the example was written by you:
https://searchfox.org/mozilla-central/source/taskcluster/ci/source-test/file-metadata.yml#55

So guess you know what to do :p.

Flags: needinfo?(gbrown)
Priority: P3 → P2
Whiteboard: [dev-prod-2020]

That doesn't sound too hard....will have a look.

Assignee: nobody → gbrown
Flags: needinfo?(gbrown)
Priority: P2 → P1
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa1488b8d06d Run mozlint on macosx64 and win64 too; r=ahal
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: