Skip to content

build: rename tests/ directory to lowercase for CI portability - #496

Open
HeyItsGilbert wants to merge 1 commit into
build/remove-legacy-cifrom
build/lowercase-tests-dir
Open

HeyItsGilbert wants to merge 1 commit into
build/remove-legacy-cifrom
build/lowercase-tests-dir

Conversation

@HeyItsGilbert

@HeyItsGilbert HeyItsGilbert commented Sep 18, 2026

Copy link
Copy Markdown
Member

Stacked on #495.

Windows/macOS filesystems are case-insensitive; Linux is not. The PowerShellOrg reusable CI workflow (powershell-ci.yml) uploads test results from a hardcoded ./tests/out/testResults.xml path, which would silently fail to find artifacts on the ubuntu-latest runner while the directory stayed capitalized Tests/.

Renames Tests/ -> tests/ and updates the two path references (.gitignore, psakeFile.ps1).

Prep for #488.

Stack: #495 -> 2/3 -> #497

Windows/macOS filesystems are case-insensitive; Linux is not. The
PowerShellOrg reusable CI workflow (powershell-ci.yml) uploads test
results from a hardcoded ./tests/out/testResults.xml path, which would
silently fail to find artifacts on the ubuntu-latest runner while the
directory was capitalized Tests/.

Rename Tests/ -> tests/ and update the two path references:
- .gitignore (tests/out/**)
- psakeFile.ps1 ($PSBPreference.Test.RootDir)

Prep for #488.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The directory rename and both path references are consistent, with no unresolved issues found.

Pull request overview

Renames the test directory to lowercase so Pester and CI artifact paths work on case-sensitive filesystems.

Changes:

  • Renamed Tests/ to tests/.
  • Updated Pester’s test root and .gitignore output path.
  • Preserved all test contents.
File summaries
File Description
.gitignore Ignores lowercase test output.
psakeFile.ps1 Uses the lowercase test root.
tests/* Case-only renames of the test suite files.
Review details
  • Files reviewed: 1/29 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants