Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi-phase test runs. #7

Open
bsutton opened this issue Jun 3, 2021 · 0 comments
Open

Support multi-phase test runs. #7

bsutton opened this issue Jun 3, 2021 · 0 comments

Comments

@bsutton
Copy link
Collaborator

bsutton commented Jun 3, 2021

The conduit project has a number of tests that cannot be run in parallel.

One suggested approach is that we allow a multi-stage testing process.

Each stage would run using a specific set of tags.

This will probably need to be done via a config file as the cli arguments would be a bit complex

pub_release -staged=single,parallel

Something like the above might work. This would create two stages on run with the 'single' tag and one run with the 'parallel' tag.

We would need to allow quoting of these as dart tests tags support tag expressions.
e.g.
single && !windows

We could create a config file pub_release.yaml with the following sections:

stages:
stage:
tag: single
thread: 1
stage: parallel
threads: 4
stage: single && !windows

One issue with the above approach is that we may need different switches for each stage.

For example conduit needs different -j1 switches pass in each stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant