Skip to content

chore: Add GitHub Actions workflow that run selected tests #2797

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

Merged

Conversation

filzrev
Copy link
Contributor

@filzrev filzrev commented Jun 28, 2025

This PR add workflow file (run-tests-selected.yaml) that run selected tests on specific project/OS/framework.

Expected workflow usage

  1. Run only selected tests on specific OS/framework (to reduce CI test workaround time)
  2. Run flaky tests that need multiple iterations to reproduce problems.
  3. Run BenchmarkDotNet.IntegrationTests.ManualRunning tests on CI (Some of the tests defined in the BenchmarkDotNet.IntegrationTests.ManualRunning project failed to run #2751)
  4. To collect custom tests artifacts (e.g. dotnet-gcdume results)

How to run this workflow

  1. Run workflow from GitHub Action's Web UI
  2. Run workflow with gh command
    # Run  CanDisassembleAllMethodCalls tests with net462 on `windows-latest` image.
    gh workflow run run-tests-selected.yaml --repo dotnet/BenchmarkDotNet --ref master -f runs_on=windows-latest -f project=tests/BenchmarkDotNet.IntegrationTests -f filter=CanDisassembleAllMethodCalls -f framework=net462
    

Note

To invoke workflow that use workflow_dispach trigger.
It need to to be committed to default branch (master) to use.

@timcassell timcassell merged commit ab703aa into dotnet:master Jun 28, 2025
9 checks passed
@AndreyAkinshin AndreyAkinshin added this to the v0.15.3 milestone Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy