Skip to content

Commit 3e55932

Browse files
committed
Apply changes
Signed-off-by: Irene Bandera <irenebandera@eprosima.com>
1 parent 3342f9d commit 3e55932

2 files changed

Lines changed: 28 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
--metas src/dev-utils/.github/workflows/configurations/coverage_colcon.meta \
113113
--mixin coverage-gcc asan-gcc
114114
115-
- name: Run tests
115+
- name: Run tests cpp_utils
116116
uses: ./src/dev-utils/.github/actions/run-test-ubuntu
117117
with:
118118
package_name: cpp_utils
@@ -205,7 +205,7 @@ jobs:
205205
--event-handlers=console_direct+ \
206206
--metas src/dev-utils/.github/workflows/configurations/asan_colcon.meta
207207
208-
- name: Run tests
208+
- name: Run tests cpp_utils
209209
run: |
210210
source install/setup.bash && \
211211
colcon test \
@@ -272,7 +272,7 @@ jobs:
272272
--event-handlers=console_direct+ \
273273
--metas src/dev-utils/.github/workflows/configurations/tsan_colcon.meta
274274
275-
- name: Run tests
275+
- name: Run tests cpp_utils
276276
run: |
277277
source install/setup.bash && \
278278
colcon test \
@@ -348,7 +348,7 @@ jobs:
348348
--event-handlers=console_direct+ \
349349
--cmake-args -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.cmake-config }}
350350
351-
- name: Run tests
351+
- name: Run tests cpp_utils
352352
run: |
353353
source install/setup.bash && \
354354
colcon test \
@@ -359,13 +359,25 @@ jobs:
359359
--label-exclude xfail \
360360
--timeout 60
361361
362+
- name: Run tests py_utils
363+
run: |
364+
source install/setup.bash && \
365+
colcon test \
366+
--packages-select py_utils \
367+
--event-handlers=console_direct+ \
368+
--return-code-on-test-failure \
369+
--ctest-args \
370+
--label-exclude xfail \
371+
--timeout 60
372+
362373
- name: Upload Logs
363374
uses: actions/upload-artifact@v1
364375
with:
365376
name: colcon-logs-ubuntu
366377
path: log/
367378
if: always()
368379

380+
# NOTE: Windows does not support Python API
369381
###########################################################
370382
# WINDOWS TEST
371383
windows-test:
@@ -504,7 +516,7 @@ jobs:
504516
--metas src/dev-utils/.github/workflows/configurations/coverage_colcon.meta \
505517
--mixin coverage-gcc asan-gcc
506518
507-
- name: Run tests
519+
- name: Run tests cpp_utils
508520
run: |
509521
source install/setup.bash && \
510522
colcon test \
@@ -515,6 +527,17 @@ jobs:
515527
--label-regex xfail \
516528
--timeout 60
517529
530+
- name: Run tests py_utils
531+
run: |
532+
source install/setup.bash && \
533+
colcon test \
534+
--packages-select py_utils \
535+
--event-handlers=console_direct+ \
536+
--return-code-on-test-failure \
537+
--ctest-args \
538+
--label-regex xfail \
539+
--timeout 60
540+
518541
###########################################################
519542
# CLANG TIDY
520543
clang-tidy:

py_utils/test/py_utils/unittest/system/test_System.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,3 @@ def test_is_windows():
4646
# Test case 3: Running the script on a different operating system
4747
os.name = 'mac'
4848
assert (is_windows() is False)
49-
50-
51-
# Run the tests
52-
test_is_linux()
53-
test_is_windows()

0 commit comments

Comments
 (0)