Merge pull request #95 from Embarcadero/pyinstaller_sample #5
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.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 delphifmx" |