Skip to content

chore(ci): Automatically test new packages by using --workspace#12342

Merged
bors merged 3 commits into
rust-lang:masterfrom
epage:ci
Jul 11, 2023
Merged

chore(ci): Automatically test new packages by using --workspace#12342
bors merged 3 commits into
rust-lang:masterfrom
epage:ci

Conversation

@epage

@epage epage commented Jul 10, 2023

Copy link
Copy Markdown
Contributor

What does this PR try to resolve?

This is a part of #11987 that was unblocked by #12321 and #11993

How should we test and review this PR?

Relying on CI to verify this

I'd prefer to move the cargo test --workspace step earlier but we run out of disk space if we do (we currently only have 661 MB of headroom of windows-gnu)

See the individual commits for smaller chunks and explanations for why changes were made.

@rustbot

rustbot commented Jul 10, 2023

Copy link
Copy Markdown
Collaborator

r? @ehuss

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added A-infrastructure Area: infrastructure around the cargo repo, ci, releases, etc. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 10, 2023
@epage epage marked this pull request as draft July 10, 2023 18:46

@weihanglo weihanglo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One drawback for testing all members in a cargo test invocation is that the feature resolution is unified. If we aim to make each subcrate work more independently in the future, we may not want to unify features.

That being said, I have no issue merging them at this stage.

@weihanglo

Copy link
Copy Markdown
Member

@bors try

@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

⌛ Trying commit 6968d41 with merge ff715be...

bors added a commit that referenced this pull request Jul 11, 2023
chore(ci): Automatically test new packages by using `--workspace`

### What does this PR try to resolve?

This is a part of #11987 that was unblocked by #12321 and #11993

### How should we test and review this PR?

Relying on CI to verify this

I'd prefer to move the `cargo test --workspace` step earlier but we run out of disk space if we do (we currently only have 661 MB of headroom of windows-gnu)

See the individual commits for smaller chunks and explanations for why changes were made.
@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

💥 Test timed out

@weihanglo

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

📌 Commit 6968d41 has been approved by weihanglo

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 11, 2023
@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6968d41 with merge 9ed4a24...

bors added a commit that referenced this pull request Jul 11, 2023
chore(ci): Automatically test new packages by using `--workspace`

### What does this PR try to resolve?

This is a part of #11987 that was unblocked by #12321 and #11993

### How should we test and review this PR?

Relying on CI to verify this

I'd prefer to move the `cargo test --workspace` step earlier but we run out of disk space if we do (we currently only have 661 MB of headroom of windows-gnu)

See the individual commits for smaller chunks and explanations for why changes were made.
@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: weihanglo
Pushing 9ed4a24 to master...

@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.

@weihanglo

Copy link
Copy Markdown
Member

Oh no. I didn't notice it was still a draft.

@epage

epage commented Jul 11, 2023

Copy link
Copy Markdown
Contributor Author

It was just a draft until it could successfully build

@epage epage marked this pull request as ready for review July 11, 2023 17:49
@weihanglo

Copy link
Copy Markdown
Member

Okay let's go

@gors r+

@weihanglo

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

💡 This pull request was already approved, no need to approve it again.

@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

📌 Commit 6968d41 has been approved by weihanglo

It is now in the queue for this repository.

@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6968d41 with merge 7d9498d...

@bors

bors commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: weihanglo
Pushing 7d9498d to master...

@bors bors merged commit 7d9498d into rust-lang:master Jul 11, 2023
@epage epage deleted the ci branch July 11, 2023 20:53
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jul 12, 2023
Update cargo

10 commits in 45782b6b8afd1da042d45c2daeec9c0744f72cc7..694a579566a9a1482b20aff8a68f0e4edd99bd28
2023-07-05 16:54:51 +0000 to 2023-07-11 22:28:29 +0000
- fix(embedded): Always generate valid package names (rust-lang/cargo#12349)
- fix(embedded): Error on unsupported commands (rust-lang/cargo#12350)
- chore(ci): Automatically test new packages by using `--workspace` (rust-lang/cargo#12342)
- contrib docs: Add some more detail about how publishing works (rust-lang/cargo#12344)
- docs: Put cargo-add change under nightly (rust-lang/cargo#12343)
- Minor: Use "number" instead of "digit" when explaining Cargo's use of semver (rust-lang/cargo#12340)
- Update criterion (rust-lang/cargo#12338)
- Add profile strip to config docs. (rust-lang/cargo#12337)
- update re: multiple versions that differ only in the metadata tag (rust-lang/cargo#12335)
- doc: state `PackageId`/`SourceId` string is opaque (rust-lang/cargo#12313)

r? `@ghost`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jul 13, 2023
Update cargo

10 commits in 45782b6b8afd1da042d45c2daeec9c0744f72cc7..694a579566a9a1482b20aff8a68f0e4edd99bd28
2023-07-05 16:54:51 +0000 to 2023-07-11 22:28:29 +0000
- fix(embedded): Always generate valid package names (rust-lang/cargo#12349)
- fix(embedded): Error on unsupported commands (rust-lang/cargo#12350)
- chore(ci): Automatically test new packages by using `--workspace` (rust-lang/cargo#12342)
- contrib docs: Add some more detail about how publishing works (rust-lang/cargo#12344)
- docs: Put cargo-add change under nightly (rust-lang/cargo#12343)
- Minor: Use "number" instead of "digit" when explaining Cargo's use of semver (rust-lang/cargo#12340)
- Update criterion (rust-lang/cargo#12338)
- Add profile strip to config docs. (rust-lang/cargo#12337)
- update re: multiple versions that differ only in the metadata tag (rust-lang/cargo#12335)
- doc: state `PackageId`/`SourceId` string is opaque (rust-lang/cargo#12313)

r? ``@ghost``
@ehuss ehuss added this to the 1.73.0 milestone Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-infrastructure Area: infrastructure around the cargo repo, ci, releases, etc. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants