-
Notifications
You must be signed in to change notification settings - Fork 55
39 lines (33 loc) · 1.13 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"