Skip to content

Commit

Permalink
feat(TEST): Make paths relative
Browse files Browse the repository at this point in the history
$GITHUB_WORKSPACE cannot be changed, so there is not control over
where the repo is cloned. So absolute paths don't work.

reference:
actions/checkout#197
  • Loading branch information
mattprompt committed Aug 8, 2021
1 parent 807dd82 commit 55c718c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Makefile
Original file line number Diff line number Diff line change
@@ -30,8 +30,8 @@ endif
#
#SRC_FILES += example-src/Example.c
#SRC_DIRS += example-platform
SRC_FILES += /sub-etha-tinycomms/src/messageHandler.c
SRC_DIRS += /sub-etha-tinycomms/src/
SRC_FILES += ../src/messageHandler.c
SRC_DIRS += ../src/

# --- TEST_SRC_FILES and TEST_SRC_DIRS ---
# Test files are always included in the build.
@@ -43,7 +43,7 @@ SRC_DIRS += /sub-etha-tinycomms/src/
# TEST_SRC_DIRS, builds everything in the directory

TEST_SRC_FILES +=
TEST_SRC_DIRS += /sub-etha-tinycomms/test
TEST_SRC_DIRS += ../test
#TEST_SRC_DIRS += tests/io-cppumock
# tests/example-fff \
# tests/fff \

0 comments on commit 55c718c

Please sign in to comment.