pulumi/scripts/test_subsets.py
Pat Gavlin 2dcf3806bd
[automation-api] Exclude tests from test_fast. (#7986)
The Automation API tests take long enough that thay don't really fit
into `test_fast`. These changes move those tests to `test_all`.
2021-09-16 17:33:33 -07:00

39 lines
1.1 KiB
Python

"""Defines test subsets.
When removing or introducing new test subsets, make sure the
`test-subset` build matrix in these files:
- `.github/workflows/run-build-and-acceptance-tests.yml`
- `.github/workflows/master.yml`
- `.github/workflows/release.yml`
An implied subset `etc` will catch tests not matched by any
explicit subset listed here.
A note on the format of TEST_SUBSETS. The keys are test configuration
names, and the values are lists of either Go packages containing the
tests, or test suites names as passed to `run-testsuite.py`.
"""
TEST_SUBSETS = {
'integration': [
'github.com/pulumi/pulumi/tests/integration'
],
'auto-and-lifecycletest': [
'auto-dotnet',
'auto-nodejs',
'auto-python',
'github.com/pulumi/pulumi/sdk/v3/go/auto',
'github.com/pulumi/pulumi/pkg/v3/engine/lifeycletest'
],
'native': [
'dotnet-test',
'istanbul',
'istanbul-with-mocks',
'python/lib/test',
'python/lib/test/langhost/resource_thens',
'python/lib/test_with_mocks'
]
}