Skip to content

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

Merged
HeyItsGilbert merged 2 commits into
mainfrom
build/lowercase-tests-dir
Sep 19, 2026
Merged

HeyItsGilbert merged 2 commits into
mainfrom
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

Delete the old Azure Pipelines / GitHub Actions build pipeline and its
supporting scripts, now that psake + PowerShellBuild (#493) is the
build entry point:

- .github/workflows/github.yml (bespoke GitHub Actions CI)
- azure-pipelines.yml and templates/ (Azure Pipelines templates)
- Build/ (Build-Module.ps1, Initialize-Environment.ps1,
  Invoke-ModuleTests.ps1, New-Changelog.ps1,
  Register-FileSystemRepository.ps1)
- Deploy/ (PSDeploy scripts; only caller was the removed workflow)

Also drops the now-dead Azure Pipelines build/coverage badges and the
dev.azure.com build-artifact download link from README.md.

Closes #486
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.

@HeyItsGilbert
HeyItsGilbert added this pull request to stack #502 September 18, 2026 23:42
Base automatically changed from build/remove-legacy-ci to main September 19, 2026 17:59
@HeyItsGilbert
HeyItsGilbert merged commit e18c7d8 into main Sep 19, 2026
1 check passed
@HeyItsGilbert
HeyItsGilbert deleted the build/lowercase-tests-dir branch September 19, 2026 17:59
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