Browse Source

add python test

Konstantin Ladutenko 10 months ago
parent
commit
9c8e690c2d
2 changed files with 6 additions and 2 deletions
  1. 5 1
      .github/workflows/cmake.yml
  2. 1 1
      tox.ini

+ 5 - 1
.github/workflows/cmake.yml

@@ -23,7 +23,11 @@ jobs:
       # without GTest and Boost
       - name: Install Python NumPy and Pybind11
         # run: sudo apt install python3-numpy python3-all-dev python-numpy-dev python3-pybind11 python3-distutils && sudo pip3 install tox
-        run: sudo apt install python3-numpy python3-all-dev python3-pybind11 python3-distutils && sudo pip3 install tox
+        run: sudo apt install python3-numpy python3-all-dev python3-pybind11 python3-distutils && sudo pip3 install tox 
+
+      - name: Python initial test
+        working-directory: ${{github.workspace}}
+        run: tox run
 
       - name: Configure CMake
         # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.

+ 1 - 1
tox.ini

@@ -4,7 +4,7 @@
 # and then run "tox" from this directory.
 
 [tox]
-envlist = py38, py310
+envlist = py310
 skip_missing_interpreters=true
 
 [testenv]