Skip to content

Remove static keyword #170

Remove static keyword

Remove static keyword #170

# SPDX-FileCopyrightText: 2023 Alec Delaney
#
# SPDX-License-Identifier: MIT
name: Windows Install Test CI
on: [pull_request, push]
jobs:
test-install:
strategy:
fail-fast: false
matrix:
pyver: ["3.7", "3.8", "3.9", "3.10"]
runs-on: windows-latest
steps:
- name: Set up Python ${{ matrix.pyver }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pyver }}
- name: Checkout Current Repo
uses: actions/checkout@v3
with:
submodules: true
- name: Find Python executable
id: find-pyexec
run: |
$pyexecloc = (get-command python).Path
"pyexec=$pyexecloc" >> $env:GITHUB_OUTPUT
- name: Install the library
run: |
${{ steps.find-pyexec.outputs.pyexec }} -m pip install --upgrade pip
${{ steps.find-pyexec.outputs.pyexec }} -m pip install .
- name: Install test requirements
run: |
${{ steps.find-pyexec.outputs.pyexec }} -m pip install -r requirements-test.txt
- name: Run tests
run: |
$process = Start-Process ${{ steps.find-pyexec.outputs.pyexec }} -Args "-m","pytest" -PassThru -Wait
exit $process.ExitCode