Skip to content

Commit

Permalink
Apply changes
Browse files Browse the repository at this point in the history
Signed-off-by: Irene Bandera <[email protected]>
  • Loading branch information
irenebm committed Jun 12, 2023
1 parent 3342f9d commit 3e55932
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
--metas src/dev-utils/.github/workflows/configurations/coverage_colcon.meta \
--mixin coverage-gcc asan-gcc
- name: Run tests
- name: Run tests cpp_utils
uses: ./src/dev-utils/.github/actions/run-test-ubuntu
with:
package_name: cpp_utils
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
--event-handlers=console_direct+ \
--metas src/dev-utils/.github/workflows/configurations/asan_colcon.meta
- name: Run tests
- name: Run tests cpp_utils
run: |
source install/setup.bash && \
colcon test \
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
--event-handlers=console_direct+ \
--metas src/dev-utils/.github/workflows/configurations/tsan_colcon.meta
- name: Run tests
- name: Run tests cpp_utils
run: |
source install/setup.bash && \
colcon test \
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
--event-handlers=console_direct+ \
--cmake-args -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.cmake-config }}
- name: Run tests
- name: Run tests cpp_utils
run: |
source install/setup.bash && \
colcon test \
Expand All @@ -359,13 +359,25 @@ jobs:
--label-exclude xfail \
--timeout 60
- name: Run tests py_utils
run: |
source install/setup.bash && \
colcon test \
--packages-select py_utils \
--event-handlers=console_direct+ \
--return-code-on-test-failure \
--ctest-args \
--label-exclude xfail \
--timeout 60
- name: Upload Logs
uses: actions/upload-artifact@v1
with:
name: colcon-logs-ubuntu
path: log/
if: always()

# NOTE: Windows does not support Python API
###########################################################
# WINDOWS TEST
windows-test:
Expand Down Expand Up @@ -504,7 +516,7 @@ jobs:
--metas src/dev-utils/.github/workflows/configurations/coverage_colcon.meta \
--mixin coverage-gcc asan-gcc
- name: Run tests
- name: Run tests cpp_utils
run: |
source install/setup.bash && \
colcon test \
Expand All @@ -515,6 +527,17 @@ jobs:
--label-regex xfail \
--timeout 60
- name: Run tests py_utils
run: |
source install/setup.bash && \
colcon test \
--packages-select py_utils \
--event-handlers=console_direct+ \
--return-code-on-test-failure \
--ctest-args \
--label-regex xfail \
--timeout 60
###########################################################
# CLANG TIDY
clang-tidy:
Expand Down
5 changes: 0 additions & 5 deletions py_utils/test/py_utils/unittest/system/test_System.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,3 @@ def test_is_windows():
# Test case 3: Running the script on a different operating system
os.name = 'mac'
assert (is_windows() is False)


# Run the tests
test_is_linux()
test_is_windows()

0 comments on commit 3e55932

Please sign in to comment.