Skip to content

Commit

Permalink
change dir from src in test/cmakelists to src/ale
Browse files Browse the repository at this point in the history
  • Loading branch information
maichmueller committed Jun 18, 2024
1 parent 1c2ef54 commit 8bb8e85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
include:
# To minimise the computational resources, we only use a single python version and the final test-wheels for all python versions
- runs-on: ubuntu-latest
python: '3.10'
python: '3.8'
triplet: x64-linux-mixed
# - runs-on: ubuntu-latest
# python: '3.9'
Expand Down
2 changes: 1 addition & 1 deletion src/ale/python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
__version__ = "unknown"

# Import native shared library
from ._ale_py import ( # noqa: E402
from ale_py._ale_py import ( # noqa: E402
SDL_SUPPORT,
Action,
ALEInterface,
Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ if (TARGET ale-py)

add_test(NAME ale-py COMMAND Python3::Interpreter -m pytest ${CMAKE_SOURCE_DIR})
set_tests_properties(ale-py PROPERTIES
ENV PYTHONPATH=${CMAKE_BINARY_DIR}/src
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src)
ENV PYTHONPATH=${CMAKE_BINARY_DIR}/src/ale
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/ale)
endif()

0 comments on commit 8bb8e85

Please sign in to comment.