Tests #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
# Manual run | |
workflow_dispatch: | |
jobs: | |
test_import_package: | |
name: Testing package on ${{ matrix.config.name }} for Python ${{ matrix.python }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
matrix: | |
config: | |
- { os: windows-latest, arch: AMD64, python-arch: x64, name: windows-latest-x64 } | |
- { os: windows-latest, arch: x86, python-arch: x86, name: windows-latest-x86 } | |
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: ${{ matrix.config.python-arch }} | |
- name: Setup package | |
run: | | |
python -m pip install setuptools --upgrade | |
python -m pip install wheel --upgrade | |
python setup.py install | |
- name: Import package | |
run: | | |
python -c "import delphivcl" |