Skip to content

Files

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Helix

The helix CI job builds tests/helix/send-to-helix-ci.proj, which in turns builds the Test target on tests/helix/send-to-helix-inner.proj. This inner project uses the Helix SDK to construct @(HelixWorkItem)s, and send them to helix to run.

  • tests/helix/send-to-helix-basictests.targets - this prepares all the tests that don't need special preparation
  • tests/helix/send-to-helix-endtoend-tests.targets - this is for tests that require a sdk+workload installed

Install sdk+workload from artifacts

  1. .\build.cmd -pack
  2. dotnet build tests\workloads.proj

.. which results in artifacts\bin\dotnet-tests which has a sdk (version from global.json) with the aspire workload installed using packs from artifacts/packages.

Controlling test runs on CI

  • Tests on PRs run in github actions. Individual test projects can be disabled for PRs with the property $(RunTestsOnGithubActions) which defaults to true.

  • Tests for rolling builds run on the build machine, and helix. Use $(RunTestsOnHelix) which defaults to true. If set to false then it would run on the build machine. But to skip the tests completely set $(SkipTests)=true also.