gcov coverage seems stale #3805

This commit is contained in:
rusefillc 2022-01-18 08:30:11 -05:00
parent 3b8fb77c95
commit 60e8eaf290
2 changed files with 14 additions and 2 deletions

View File

@ -56,6 +56,16 @@ jobs:
working-directory: ./unit_tests/ working-directory: ./unit_tests/
run: ASAN_OPTIONS=detect_stack_use_after_return=1 build/rusefi_test run: ASAN_OPTIONS=detect_stack_use_after_return=1 build/rusefi_test
- name: Set FTP variables
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
if [ "${{github.ref}}" = "refs/heads/master" ]; then
echo "::set-env name=RUSEFI_SSH_SERVER::${{secrets.RUSEFI_SSH_SERVER}}";
echo "::set-env name=RUSEFI_SSH_USER::${{secrets.RUSEFI_SSH_USER}}";
echo "::set-env name=RUSEFI_SSH_PASS::${{secrets.RUSEFI_SSH_PASS}}";
fi
- name: Generate Code Coverage - name: Generate Code Coverage
if: ${{ matrix.os != 'macos-latest' && github.event_name == 'push' && github.ref == 'refs/heads/master' }} if: ${{ matrix.os != 'macos-latest' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
working-directory: ./unit_tests/ working-directory: ./unit_tests/

View File

@ -1,8 +1,10 @@
#!/bin/bash #!/bin/bash
# #
# this one used by github actions # this script is used by github actions
# this scripts replaces run_gcov.sh #
# TODO: this script validates that it has three arguments but then proceeds to use environment variables not arguments!
# TODO: clean this up!
# #
if [ ! "$1" ] || [ ! "$2" ] || [ ! "$3" ]; then if [ ! "$1" ] || [ ! "$2" ] || [ ! "$3" ]; then