Skip to content

ci: read the default device test TFM from Directory.Build.props - #5895

Merged
ric-oliv merged 1 commit into
version7from
ci/device-tests-latest-tfm
Nov 9, 2026
Merged

ric-oliv merged 1 commit into
version7from
ci/device-tests-latest-tfm

Conversation

@jamescrosswell

Copy link
Copy Markdown
Collaborator

When scripts/device-test.ps1 is called without -Tfm, it now takes the TFM from $(LatestTfm) in Directory.Build.props instead of a literal that had to be bumped by hand each year. If the property can't be read, the script stops with an error.

The iOS device tests are the only CI caller that uses this default, and the result is still net11.0. The Android workflow passes -Tfm from its matrix, so it is unaffected.

Closes #5565

#skip-changelog

🤖 Generated with Claude Code

The default was a literal that had to be bumped by hand each year to match LatestTfm.

Refs #5565

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.98%. Comparing base (25b505e) to head (57d8022).

Additional details and impacted files
@@            Coverage Diff            @@
##           version7    #5895   +/-   ##
=========================================
  Coverage     76.98%   76.98%           
=========================================
  Files           538      538           
  Lines         19714    19714           
  Branches       3872     3872           
=========================================
  Hits          15176    15176           
  Misses         3666     3666           
  Partials        872      872           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jamescrosswell
jamescrosswell marked this pull request as ready for review November 9, 2026 07:48
@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 9, 2026

@ric-oliv ric-oliv 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.

LGTM!

@ric-oliv
ric-oliv merged commit 51e7d99 into version7 Nov 9, 2026
46 checks passed
@ric-oliv
ric-oliv deleted the ci/device-tests-latest-tfm branch November 9, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants