diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..6b8a8a0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,50 @@ +name: Test + +on: + push: + branches: + - '*' + - '*/**' + paths-ignore: + - 'README.md' + - '.gitignore' + - 'LICENSE' + - 'Acknowledgments.md' + - 'README.md' + - 'CHANGELOG.md' + - '.github/workflows/publish.yml' + +jobs: + matrix: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"] + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + + - name: Set up Python + uses: actions/setup-python@v4 + id: setup-python + with: + python-version: ${{matrix.python-version}} + architecture: x64 + + - name: Install Nox + run: pip install Nox + + - name: Fixup Build Params + if: matrix.os == 'windows-latest' && matrix.python-version == 'pypy-3.8' + run: | + $Python3_ROOT_DIR=$Env:Python3_ROOT_DIR -replace '\\', '/' + echo SKBUILD_CONFIGURE_OPTIONS=-DPYTHON_LIBRARY=$Python3_ROOT_DIR/libs/python38.lib >> $Env:GITHUB_ENV + #Get-ChildItem -Path $Env:Python3_ROOT_DIR -Recurse + + - name: Test + run: nox --sessions test --force-python ${{ steps.setup-python.outputs.python-path }} + diff --git a/code b/code index 4556e1f..b320727 160000 --- a/code +++ b/code @@ -1 +1 @@ -Subproject commit 4556e1f7821561f7adba9ff55127ea37bc48a923 +Subproject commit b320727407adc670f32fab2ba0d8936abf45aa00