Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken relative paths in matrix-generator tests and samples + make the tests runnable by common-tests/ci.yml. #5095

Merged
5 commits merged into from
Jan 10, 2023

Conversation

konrad-jamrozik
Copy link
Contributor

@konrad-jamrozik konrad-jamrozik commented Jan 9, 2023

This PR fixes paths I forgot to update when I did this PR:

And as such this PR contributes to addressing:

It also adds UnitTest tags to the matrix-generator tests so common-tests/ci.yml pipeline executes them.

Related work

@konrad-jamrozik konrad-jamrozik added the Central-EngSys This issue is owned by the Engineering System team. label Jan 9, 2023
@konrad-jamrozik konrad-jamrozik requested a review from a team as a code owner January 9, 2023 22:08
@konrad-jamrozik konrad-jamrozik self-assigned this Jan 9, 2023
@konrad-jamrozik konrad-jamrozik changed the title Fix broken relative paths in matrix-generator tests and samples. Fix broken relative paths in matrix-generator tests and samples + make the tests runnable by common-tests/ci.yml. Jan 9, 2023
@sima-zhu
Copy link
Contributor

sima-zhu commented Jan 9, 2023

To ensure we don't have any tests left behind, better to check the value of NotRun in log.
image

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@konrad-jamrozik konrad-jamrozik force-pushed the users/kojamroz/fix_matrix_tests branch 2 times, most recently from b325e67 to f2f92c0 Compare January 9, 2023 23:07
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@konrad-jamrozik
Copy link
Contributor Author

To ensure we don't have any tests left behind, better to check the value of NotRun in log. image

Thanks for the tip!

We have:

NotRun                : {[ ] Should generate a sparse matrix where the entire base matrix is imported, [ ] Should 
                        import a matrix and combine with length=1 vectors, [ ] Should generate a matrix with 
                        nonSparseParameters and an imported sparse matrix, [ ] Should source imported display name 
                        lookups…}

but this is because I had to disable these tests, due to:

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@@ -380,7 +380,7 @@ function ProcessImport([MatrixParameter[]]$matrix, [String]$selection, [Array]$n
}

if (!(Test-Path $importPath)) {
Write-Error "`$IMPORT path '$importPath' does not exist."
Write-Error "`$IMPORT path '$importPath' does not exist. Current dir: $(Get-Location)"
Copy link
Member

Choose a reason for hiding this comment

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

Is this debugging information something you plan to sync in eng/common or is it only temporary to help with getting these tests working?

@ghost
Copy link

ghost commented Jan 10, 2023

Hello @azure-sdk!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants