Skip to content

Commit

Permalink
Exit early if no unit tests exist
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed Jul 19, 2023
1 parent ae3d0ba commit 4f02f29
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/on_host_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,17 @@ runs:
fi
fi
- name: Populate TAGS for unit test report
# TODO: Should only run for unit-tests
if: always()
shell: bash
run: |
set -x
# TODO: Remove when I've figured out how to only run this for unit tests
if [[ ! -d ${TEST_RESULTS_DIR}/${{ matrix.platform }} ]]; then
exit 0
fi
# TODO: Set tags in `includes` field in config?
# TODO: Set metrics here?
Expand Down

0 comments on commit 4f02f29

Please sign in to comment.