Move the tests out of the source directory and add CI#736
Draft
mattleibow wants to merge 3 commits intomono:mainfrom
Draft
Move the tests out of the source directory and add CI#736mattleibow wants to merge 3 commits intomono:mainfrom
mattleibow wants to merge 3 commits intomono:mainfrom
Conversation
76829f5 to
89f1784
Compare
17 tasks
89f1784 to
a5f6d70
Compare
Currently the tests can only run on macOS
a5f6d70 to
81cdf16
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
The base PR #739 must be merged first as it contains the base CI files.
The PR is mostly to do this work outside of code changes. As I work to get things building with newer tools and .NET versions, the SDKs start to make assumptions about the files. Instead of having to always exclude tests and remove files, this PR just moves all the non-source into the tests folder.
Real diff:
git diff --name-status main dev/move-tests-out | grep -v "^R100"This pull request introduces several improvements to the build and test infrastructure, reorganizes test project locations, and updates configuration files for better maintainability and consistency. The most important changes are grouped below.
Build and Test Automation:
.github/workflows/build.yml) and testing (.github/workflows/test.yml) the project on multiple operating systems and configurations, including steps for dependency setup, artifact upload, and Mono installation. [1] [2]Project Structure and Configuration:
mdocandmonodocfrom their respective subdirectories to thetestsdirectory, updating their paths in the solution fileapidoctools.slnfor improved organization.global.jsonfile to pin the .NET SDK version to6.0.428, ensuring consistent builds across environments.Build System and Makefile Improvements:
Makefiletargets to use the-Coption for running checks in subdirectories, simplifying command structure.monodoc/Makefileto use a configurableMONOvariable and updated test DLL path to reflect the new test project location.Gitignore Updates:
mdoc/Test-related.gitignoreentries frommdoc/.gitignoretotests/mdoc/.gitignoreto match the new test directory structure. [1] [2]