Skip to content

Commit

Permalink
Add package.xml, remove dependency on python3-yaml, and disable faili…
Browse files Browse the repository at this point in the history
…ng windows tests (#249)

Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored May 1, 2024
1 parent 1317511 commit 6459072
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/ci/packages.apt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ libwebsockets-dev
libxi-dev
libxmu-dev
libyaml-dev
python3-yaml
uuid-dev
xvfb
11 changes: 11 additions & 0 deletions .github/workflows/package_xml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Validate package.xml

on:
pull_request:

jobs:
package-xml:
runs-on: ubuntu-latest
name: Validate package.xml
steps:
- uses: gazebo-tooling/action-gz-ci/validate_package_xml@jammy
42 changes: 42 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<name>gz-launch7</name>
<version>7.1.0</version>
<description>Gazebo Launch : Run and manage programs and plugins</description>
<maintainer email="[email protected]">Nate Koenig</maintainer>
<license>Apache License 2.0</license>
<url type="website">https://github.com/gazebosim/gz-launch</url>

<buildtool_depend>cmake</buildtool_depend>

<depend>binutils</depend>
<depend>gz-cmake3</depend>
<depend>gz-common5</depend>
<depend>gz-fuel-tools9</depend>
<depend>gz-gui8</depend>
<depend>gz-math7</depend>
<depend>gz-msgs10</depend>
<depend>gz-physics7</depend>
<depend>gz-plugin2</depend>
<depend>gz-rendering8</depend>
<depend>gz-sensors8</depend>
<depend>gz-sim8</depend>
<depend>gz-tools2</depend>
<depend>gz-transport13</depend>
<depend>libgflags-dev</depend>
<depend>libwebsockets-dev</depend>
<depend>libxi-dev</depend>
<depend>libxmu-dev</depend>
<depend>libyaml-dev</depend>
<depend>sdformat14</depend>
<depend>tinyxml2</depend>
<depend>uuid</depend>

<test_depend>xvfb</test_depend>

<export>
<build_type>cmake</build_type>
</export>
</package>

6 changes: 3 additions & 3 deletions src/Manager_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ TEST_F(ManagerTest, RunBadXml)
}

/////////////////////////////////////////////////
TEST_F(ManagerTest, RunLs)
TEST_F(ManagerTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(RunLs))
{
std::string cmd;

Expand All @@ -137,7 +137,7 @@ TEST_F(ManagerTest, RunLs)
}

/////////////////////////////////////////////////
TEST_F(ManagerTest, RunEnvPre)
TEST_F(ManagerTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(RunEnvPre))
{
// Test that environment is applied regardless of order
#ifndef _WIN32
Expand Down Expand Up @@ -175,7 +175,7 @@ TEST_F(ManagerTest, RunEnvPre)
}

/////////////////////////////////////////////////
TEST_F(ManagerTest, RunEnvPost)
TEST_F(ManagerTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(RunEnvPost))
{
// Test that environment is applied regardless of order
#ifndef _WIN32
Expand Down

0 comments on commit 6459072

Please sign in to comment.