mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Combine all script tests into test-scripts
Remove: - tidy self test support from `./mach test` - `./mach test-idl` Adds a `./mach test-scripts` command that is responsible for running all Python script tests. Run this during the CI to catch regressions in changes to scripts. The WebIDL tests are still *very* slow and there are from Gecko, so only run them when "-a" is passed meaning all tests.
This commit is contained in:
parent
edeed11cef
commit
ae9a9e1d17
13 changed files with 94 additions and 94 deletions
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
|
@ -75,6 +75,8 @@ jobs:
|
|||
run: python3 ./mach build --release --with-${{ env.LAYOUT }}
|
||||
- name: Smoketest
|
||||
run: xvfb-run python3 ./mach smoketest
|
||||
- name: Script tests
|
||||
run: ./mach test-scripts
|
||||
- name: Unit tests
|
||||
if: ${{ inputs.unit-tests }}
|
||||
run: python3 ./mach test-unit --release --with-${{ env.LAYOUT }}
|
||||
|
|
2
.github/workflows/mac.yml
vendored
2
.github/workflows/mac.yml
vendored
|
@ -63,6 +63,8 @@ jobs:
|
|||
python3 ./mach build --release --with-${{ env.LAYOUT }}
|
||||
- name: Smoketest
|
||||
run: python3 ./mach smoketest
|
||||
- name: Script tests
|
||||
run: ./mach test-scripts
|
||||
- name: Unit tests
|
||||
if: ${{ inputs.unit-tests }}
|
||||
run: python3 ./mach test-unit --release --with-${{ env.LAYOUT }}
|
||||
|
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
# See https://github.com/actions/checkout/issues/162.
|
||||
token: ${{ secrets.WPT_SYNC_TOKEN }}
|
||||
- name: Install requirements
|
||||
run: pip install -r servo/python/wpt/requirements.txt
|
||||
run: pip install -r servo/python/requirements.txt
|
||||
- name: Process pull request
|
||||
run: servo/python/wpt/export.py
|
||||
env:
|
||||
|
|
18
.github/workflows/test-export-wpt-changes.yml
vendored
18
.github/workflows/test-export-wpt-changes.yml
vendored
|
@ -1,18 +0,0 @@
|
|||
name: WPT exporter test
|
||||
on:
|
||||
pull_request:
|
||||
branches: ["**"]
|
||||
paths: ["python/wpt/exporter/**"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3 -m pip install --upgrade -r python/wpt/requirements-dev.txt
|
||||
- name: Running tests
|
||||
run: |
|
||||
python3 python/wpt/test.py
|
Loading…
Add table
Add a link
Reference in a new issue