- Use spawn in stead of fork so that any jvm will not exist in any child processes and block them from stopping.

- Use poetry for install.
This commit is contained in:
Wim Pomp
2023-03-31 12:01:25 +02:00
parent 4fceb59867
commit 6689b1eab3
7 changed files with 122 additions and 102 deletions

23
.github/workflows/pytest.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: PyTest
on: workflow_call
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.10"]
os: [ubuntu-20.04, windows-2019, macOS-11]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .[test]
- name: Test with pytest
run: pytest