Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
#60: Migration from Travis CI to Github CI - set PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Nov 24, 2020
1 parent b96e1ab commit a0f5553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions .rkd/makefile.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import os
import sys
import inspect

sys.path.append(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) + '/../subpackages/rkd_python/')


from rkd.api.syntax import TaskAliasDeclaration as Task # RKD API (for defining shortcuts/aliases for whole tasks lists)
from rkd.api.syntax import TaskDeclaration # RKD API (for declaring usage of given task, importing it)
from rkd.api.contract import ExecutionContext # RKD API (one of dependencies - context gives us access to commandline arguments and environment variables)
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ TEST_OPTS=

## Run tests
tests: refresh_git
export PYTHONPATH="$$(pwd):$$(pwd)/subpackages/rkd_python"; \
python3 -m unittest discover -s ./test ${TEST_OPTS}

## Release
Expand Down

0 comments on commit a0f5553

Please sign in to comment.