Skip to content

Scaffolding for running tests in CI #199

Merged
LegNeato merged 13 commits intoRust-GPU:mainfrom
LegNeato:newmodalci
Apr 15, 2025
Merged

Scaffolding for running tests in CI #199
LegNeato merged 13 commits intoRust-GPU:mainfrom
LegNeato:newmodalci

Conversation

@LegNeato
Copy link
Contributor

@LegNeato LegNeato commented Apr 14, 2025

I'm breaking up adding tests in CI so it doesn't get too big.

This is the scaffolding, it doesn't actually run any tests.

The reason for a different step is to gate tests so that secrets are not exposed on pull requests. Maintainers PRs and main get tests run automatically, but other wise the step is skipped (but can be trigger manually, once this is landed on main).

@LegNeato LegNeato marked this pull request as draft April 14, 2025 17:58
For some reason I was just a CONTRIBUTOR. It is better to check
write access anyway.
This doesn't appear to be interpolated if the
step is not run.
@LegNeato LegNeato marked this pull request as ready for review April 15, 2025 16:57
@LegNeato LegNeato marked this pull request as draft April 15, 2025 16:57
@LegNeato LegNeato changed the title Use modal.com for running tests in CI Scaffolding for running tests in CI Apr 15, 2025
@LegNeato LegNeato marked this pull request as ready for review April 15, 2025 19:51
@LegNeato LegNeato merged commit 81aa642 into Rust-GPU:main Apr 15, 2025
7 checks passed
nnethercote added a commit to nnethercote/Rust-CUDA that referenced this pull request Dec 9, 2025
It was added in Rust-GPU#199, in preparation for running GPU tests on non-GitHub
resources. But that seems unlikely to happen now, so it's just added
complexity and potential for unexplained failures (as seen in Rust-GPU#332).
This commit removes it. We can always reinstate it if necessary.
LegNeato pushed a commit that referenced this pull request Dec 10, 2025
It was added in #199, in preparation for running GPU tests on non-GitHub
resources. But that seems unlikely to happen now, so it's just added
complexity and potential for unexplained failures (as seen in #332).
This commit removes it. We can always reinstate it if necessary.
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.

1 participant