Skip to content

Commit

Permalink
Updated Python test action and made tests discoverable
Browse files Browse the repository at this point in the history
  • Loading branch information
Rouslan committed Nov 6, 2024
1 parent 7befab8 commit dc265dd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: polyops
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
Expand All @@ -25,4 +25,4 @@ jobs:
pip install ./polyops
- name: Run Tests
run: |
python -m polyops.tests.btest
python -m unittest discover polyops
4 changes: 2 additions & 2 deletions py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ if(Python3_FOUND)

install(TARGETS polydraw LIBRARY DESTINATION polyops/tests)
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/tests/btest.py
${CMAKE_CURRENT_SOURCE_DIR}/tests/misc_tests.py
${CMAKE_CURRENT_SOURCE_DIR}/tests/test_bitmap.py
${CMAKE_CURRENT_SOURCE_DIR}/tests/test_misc.py
${CMAKE_CURRENT_SOURCE_DIR}/tests/__init__.py
DESTINATION polyops/tests)

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit dc265dd

Please sign in to comment.