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

Disable ign tests on Windows (sdf10) #456

Merged
merged 4 commits into from
Jan 8, 2021
Merged

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Jan 7, 2021

Following @scpeters suggestion gazebo-tooling/release-tools#365 (comment), the PR disable the run of ign tests on Windows.

@github-actions github-actions bot added 🏢 edifice Ignition Edifice 🔮 dome Ignition Dome labels Jan 7, 2021
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
@j-rivero j-rivero force-pushed the sdf10_disable_ign_win branch from 3a2583b to 592604d Compare January 7, 2021 20:21
# Find ignition cmake2
# Only for using the testing macros, not really
# being use to configure the whole project
find_package(ignition-cmake2 2.3 REQUIRED)
Copy link
Contributor

Choose a reason for hiding this comment

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

How about checking if (IGNITION-TOOLS_BINARY_DIRS)?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think that is useful because we often install ign-tools in windows workspaces. I think we want the macros available in all cases, so I don't think we should conditionally find this

@codecov-io
Copy link

codecov-io commented Jan 7, 2021

Codecov Report

Merging #456 (89c95fc) into sdf10 (8063f0c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            sdf10     #456   +/-   ##
=======================================
  Coverage   87.56%   87.56%           
=======================================
  Files          61       61           
  Lines        9365     9365           
=======================================
  Hits         8200     8200           
  Misses       1165     1165           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8063f0c...89c95fc. Read the comment docs.

# Find ignition cmake2
# Only for using the testing macros, not really
# being use to configure the whole project
find_package(ignition-cmake2 2.3 REQUIRED)
Copy link
Member

Choose a reason for hiding this comment

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

does this need to be called before finding ignition-math6? it's a dependency of ignition-math6, so I'm not sure if an old version would be improperly cached

# Find ignition cmake2
# Only for using the testing macros, not really
# being use to configure the whole project
find_package(ignition-cmake2 2.3 REQUIRED)
Copy link
Member

Choose a reason for hiding this comment

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

I don't think that is useful because we often install ign-tools in windows workspaces. I think we want the macros available in all cases, so I don't think we should conditionally find this

@@ -134,6 +134,14 @@ if (BUILD_SDF_TEST)

sdf_build_tests(${gtest_sources})

if (IGNITION-TOOLS_BINARY_DIRS)
Copy link
Member

Choose a reason for hiding this comment

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

if (TARGET UNIT_ign_TEST)

@scpeters scpeters merged commit 1be644d into sdf10 Jan 8, 2021
@scpeters scpeters deleted the sdf10_disable_ign_win branch January 8, 2021 00:10
scpeters added a commit to scpeters/sdformat that referenced this pull request Jan 20, 2021
Some ign_TEST cases were disabled on the sdf10 branch in gazebosim#456,
but the merge forward failed to disable the new test cases
on the main branch that have been added since sdf10.
This disables them all to fix CI.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 dome Ignition Dome 🏢 edifice Ignition Edifice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants