Remove references to 2020 layout in try_parser.py (#36047)

* Remove references to 2020 layout in try_parser.py

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* Removed all references to CHANGE

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* Updated .yml workflow files

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* update more references

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* fixed right hand argument

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* Fixing more references

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* mach: remove unused import in try_parser.py

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

* ci: update reference to wpt_layout in try.yml

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

---------

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
MDCODE247 2025-03-25 12:19:48 +01:00 committed by GitHub
parent cee84c824f
commit 3b293f4949
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 40 additions and 64 deletions

View file

@ -11,9 +11,9 @@ on:
wpt-args:
required: true
type: string
wpt-layout:
wpt:
required: true
type: string
type: boolean
unit-tests:
required: true
type: boolean
@ -43,7 +43,7 @@ jobs:
secrets: inherit
with:
profile: ${{ inputs.profile }}
wpt-layout: ${{ inputs.wpt-layout }}
wpt: ${{ inputs.wpt }}
unit-tests: ${{ inputs.unit-tests }}
build-libservo: ${{ inputs.build-libservo }}
wpt-args: ${{ inputs.wpt-args }}
@ -56,7 +56,7 @@ jobs:
secrets: inherit
with:
profile: ${{ inputs.profile }}
wpt-layout: ${{ inputs.wpt-layout }}
wpt: ${{ inputs.wpt }}
unit-tests: ${{ inputs.unit-tests }}
build-libservo: ${{ inputs.build-libservo }}
wpt-args: ${{ inputs.wpt-args }}

View file

@ -14,9 +14,9 @@ on:
required: false
default: false
type: boolean
wpt-layout:
wpt:
required: false
type: string
type: boolean
unit-tests:
required: false
default: false
@ -55,10 +55,9 @@ on:
default: false
required: false
type: boolean
wpt-layout:
wpt:
required: false
type: choice
options: ["none", "2020", "all"]
type: boolean
unit-tests:
required: false
default: false
@ -216,7 +215,7 @@ jobs:
path: target.tar.gz
wpt-2020:
if: ${{ inputs.wpt-layout == '2020' || inputs.wpt-layout == 'all' }}
if: ${{ inputs.wpt }}
name: Linux WPT
needs: ["build"]
uses: ./.github/workflows/linux-wpt.yml

View file

@ -11,9 +11,9 @@ on:
default: ""
required: false
type: string
wpt-layout:
wpt:
required: false
type: string
type: boolean
unit-tests:
required: false
default: false
@ -48,10 +48,9 @@ on:
default: ""
required: false
type: string
wpt-layout:
wpt:
required: false
type: choice
options: ["none", "2020", "all"]
type: boolean
unit-tests:
required: false
default: false
@ -206,7 +205,7 @@ jobs:
path: target.tar.gz
wpt-2020:
if: ${{ inputs.wpt-layout == '2020' || inputs.wpt-layout == 'all' }}
if: ${{ inputs.wpt }}
name: MacOS WPT
needs: ["build"]
uses: ./.github/workflows/mac-wpt.yml

View file

@ -51,7 +51,7 @@ jobs:
secrets: inherit
with:
workflow: ${{ matrix.workflow }}
wpt-layout: ${{ matrix.wpt_layout }}
wpt: ${{ matrix.wpt }}
profile: ${{ matrix.profile }}
unit-tests: ${{ matrix.unit_tests }}
build-libservo: ${{ matrix.build_libservo }}

View file

@ -16,7 +16,7 @@ jobs:
uses: ./.github/workflows/linux.yml
with:
wpt-sync-from-upstream: true
wpt-layout: 'all'
wpt: true
unit-tests: false
sync:

View file

@ -123,7 +123,7 @@ jobs:
secrets: inherit
with:
workflow: ${{ matrix.workflow }}
wpt-layout: ${{ matrix.wpt_layout }}
wpt: ${{ matrix.wpt }}
profile: ${{ matrix.profile }}
unit-tests: ${{ matrix.unit_tests }}
build-libservo: ${{ matrix.build_libservo }}

View file

@ -14,10 +14,9 @@ on:
default: ""
required: false
type: string
wpt-layout:
wpt:
required: false
type: choice
options: ["none", "2020", "all"]
type: boolean
unit-tests:
required: false
type: boolean
@ -78,7 +77,7 @@ jobs:
// Process `workflow_dispatch` provided configuration overrides.
if (context.eventName == "workflow_dispatch") {
// WPT-related overrides only affect Linux currently, as tests don't run by default on other platforms.
configuration.matrix[0].wpt_layout = "${{ inputs.wpt-layout }}" || "none";
configuration.matrix[0].wpt = Boolean(${{ inputs.wpt }});
configuration.matrix[0].wpt_args = "${{ inputs.wpt-args }}" || "";
let unit_tests = Boolean(${{ inputs.unit-tests }});
@ -104,7 +103,7 @@ jobs:
secrets: inherit
with:
workflow: ${{ matrix.workflow }}
wpt-layout: ${{ matrix.wpt_layout }}
wpt: ${{ matrix.wpt }}
profile: ${{ matrix.profile }}
unit-tests: ${{ matrix.unit_tests }}
build-libservo: ${{ matrix.build_libservo }}