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

BCR presubmit: Support testing test module #1303

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Conversation

meteorcloudy
Copy link
Member

Implementing #1302

@meteorcloudy
Copy link
Member Author

With matrix = {'a': [1, 2], 'b': [1], 'c': [2]},
if attributes = ['a', 'b'], then returns [[('a', 1), ('b', 1)], [('a', 2), ('b', 1)]]
if attributes = ['b', 'c'], then returns [[('b', 1), ('c', 1)]]
if attributes = ['c'], then returns [[('c', 1)]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"then returns [[('c', 2)]]"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, but I'll fix the matrix instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also rebase with master branch after merging #1300

BCR modules can now specify task configurations for a test module under
`bcr_test_module`.

Closes: #1302
Copy link
Member

@Wyverald Wyverald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@meteorcloudy meteorcloudy merged commit fde4858 into master Jan 11, 2022
@meteorcloudy meteorcloudy deleted the bcr_test_module branch January 11, 2022 13:37
output_dir = root.joinpath("output")
bazelci.eprint("* Download and unpack %s\n" % archive_url)
download(archive_url, archive_file)
shutil.unpack_archive(str(archive_file), output_dir)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At present, we lose the permissions on the extracted files, per python/cpython#59999.

fmeum pushed a commit to fmeum/continuous-integration that referenced this pull request Dec 10, 2023
BCR modules can now specify task configurations for a test module under
`bcr_test_module`.

Closes: bazelbuild#1302
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

Successfully merging this pull request may close these issues.

3 participants