Skip to content

Merge pull request #68 from Embarcadero/sanitization #1

Merge pull request #68 from Embarcadero/sanitization

Merge pull request #68 from Embarcadero/sanitization #1

Workflow file for this run

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.6', '3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- name: Check out repository
uses: actions/checkout@v3
- 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"