File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,28 +33,33 @@ jobs:
3333 strategy :
3434 fail-fast : false
3535 matrix :
36+ test_package :
37+ - cpp
38+ - csharp
39+ - docker
40+ - genrules
41+ - go
42+ - ios
43+ - java
44+ - kotlin
45+ - perl
46+ - scala
47+ - swift
48+ - typescript
3649 include :
3750 - os : macos
3851 arch : arm64
3952 os_distribution : sonoma
4053 os_version : " 14"
4154 revision : c12cc4655257fcf7da86fe06e87542b7e6814a1f
4255 remote_execution : ' false'
43- skip_packages :
44- - docker
45- - ios
46- - swift
4756
4857 - os : macos
4958 arch : arm64
5059 os_distribution : sonoma
5160 os_version : " 14"
5261 revision : c12cc4655257fcf7da86fe06e87542b7e6814a1f
5362 remote_execution : ' true'
54- skip_packages :
55- - docker
56- - ios
57- - swift
5863
5964 steps :
6065 - uses : " actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd"
7277 ARCH : ${{ matrix.arch }}
7378 OS : ${{ matrix.os }}
7479 REMOTE_EXECUTION : ${{ matrix.remote_execution }}
75- run : python3 infra/test-all.py --skip_packages =${{ join( matrix.skip_packages, ',') }}
80+ run : python3 infra/test-all.py --package =${{ matrix.test_package }}
7681
7782 linux-test-matrix :
7883 runs-on :
Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ def main():
7474 parser = argparse .ArgumentParser (
7575 description = "Runs example test suites" , fromfile_prefix_chars = "@"
7676 )
77+ parser .add_argument (
78+ "--package" ,
79+ required = False ,
80+ help = "Package to test." ,
81+ )
7782 parser .add_argument (
7883 "--skip_packages" ,
7984 required = False ,
@@ -91,7 +96,11 @@ def main():
9196 if opts .validate_env :
9297 validate_env ()
9398
94- packages = determine_packages (ALL_PACKAGES , skip = opts .skip_packages )
99+ packages = []
100+ if opt .package :
101+ packages = [opt .package ]
102+ else :
103+ packages = determine_packages (ALL_PACKAGES , skip = opts .skip_packages )
95104
96105 # Make sure all packages are valid
97106 for package in packages :
You can’t perform that action at this time.
0 commit comments