CI tests: run all tests from yaml directly
Change-Id: If4ed8bc03f43f833cff14311b4dbc5a7f11de439
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index 75b59c3..cb95190 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -81,7 +81,12 @@
- name: Test with pytest on Windows
if: runner.os == 'Windows'
run: |
- ./scripts/R_run.bat setup.py test
+ pip install pytest
+ pytest KorAPClient/tests --junitxml=junit/test-results-${{ matrix.python-version }}.xml
+ env:
+ R_HOME: "c:/R"
+ R_USER: "c:/R"
+ PATH: "${{ env.PATH }};C:/R/bin/x64;c:/R/bin/i386;c:/R;c:/R/bin"
- name: Upload check results
if: failure()
uses: actions/upload-artifact@master