|
40 | 40 | colcon test --packages-select=rmw_microxrcedds --return-code-on-test-failure --ctest-args -E "(cpplint)|(lint_cmake)|(uncrustify)|(xmllint)" |
41 | 41 | ./build/rmw_microxrcedds/test/test-sizes 2> memanalisys_out |
42 | 42 |
|
| 43 | + - name: Static memory |
| 44 | + continue-on-error: true |
| 45 | + if: github.event_name == 'pull_request' |
| 46 | + uses: machine-learning-apps/pr-comment@master |
| 47 | + env: |
| 48 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 49 | + with: |
| 50 | + path: memanalisys_out |
| 51 | + |
| 52 | + - name: Coverage |
| 53 | + run: | |
| 54 | + cd src/rmw-microxrcedds/ |
| 55 | + gcovr -x -r . -o coverage.xml ../../build --exclude-unreachable-branches --exclude rmw_microxrcedds_c/test |
| 56 | + curl -s https://codecov.io/bash -o codecov.bash && chmod +x codecov.bash |
| 57 | + ./codecov.bash -t ${{ secrets.CODECOV_TOKEN }} |
| 58 | +
|
| 59 | + rmw_microxrcedds_uncrustify: |
| 60 | + runs-on: ubuntu-20.04 |
| 61 | + container: microros/micro-ros-agent:foxy |
| 62 | + |
| 63 | + steps: |
| 64 | + - uses: actions/checkout@v2 |
| 65 | + with: |
| 66 | + path: src/rmw-microxrcedds |
| 67 | + |
43 | 68 | - name: Uncrustify |
44 | 69 | run: | |
45 | 70 | # Install Uncrustify |
|
55 | 80 | curl -l https://raw.githubusercontent.com/eProsima/cpp-style/master/uncrustify.cfg -o uncrustify.cfg |
56 | 81 | find src test include \( -name "*.cpp" -o -name "*.c" -o -name "*.h" -o -name "*.hpp" \) -exec uncrustify -c uncrustify.cfg --check {} + |
57 | 82 |
|
58 | | - - name: Static memory |
59 | | - continue-on-error: true |
60 | | - if: github.event_name == 'pull_request' |
61 | | - uses: machine-learning-apps/pr-comment@master |
62 | | - env: |
63 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
64 | | - with: |
65 | | - path: memanalisys_out |
66 | 83 |
|
67 | | - - name: Coverage |
68 | | - run: | |
69 | | - cd src/rmw-microxrcedds/ |
70 | | - gcovr -x -r . -o coverage.xml ../../build --exclude-unreachable-branches --exclude rmw_microxrcedds_c/test |
71 | | - curl -s https://codecov.io/bash -o codecov.bash && chmod +x codecov.bash |
72 | | - ./codecov.bash -t ${{ secrets.CODECOV_TOKEN }} |
|
0 commit comments