Skip to content
Snippets Groups Projects
Commit 9eec9adb3479 authored by Seyf's avatar Seyf
Browse files

GH #217 Add windows x86 installation tests

parent 31190c95cf6b
Branches
No related tags found
No related merge requests found
...@@ -11,8 +11,9 @@ ...@@ -11,8 +11,9 @@
matrix: matrix:
environment: ['macos-latest', 'windows-latest', 'ubuntu-latest'] environment: ['macos-latest', 'windows-latest', 'ubuntu-latest']
python-version: [2.7, 3.5, 3.6, 3.7, 3.8] python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
python-architecture: ['x86', 'x64']
mq-client-version: [9.1.5.0] mq-client-version: [9.1.5.0]
exclude: exclude:
# Windows runner does not have libraries required for build with python2.7 # Windows runner does not have libraries required for build with python2.7
- environment: windows-latest - environment: windows-latest
python-version: 2.7 python-version: 2.7
...@@ -14,8 +15,13 @@ ...@@ -14,8 +15,13 @@
mq-client-version: [9.1.5.0] mq-client-version: [9.1.5.0]
exclude: exclude:
# Windows runner does not have libraries required for build with python2.7 # Windows runner does not have libraries required for build with python2.7
- environment: windows-latest - environment: windows-latest
python-version: 2.7 python-version: 2.7
# actions/setup-python does not have x86 versions for ubuntu and macos
- environment: ubuntu-latest
python-architecture: 'x86'
- environment: macos-latest
python-architecture: 'x86'
runs-on: ${{ matrix.environment}} runs-on: ${{ matrix.environment}}
steps: steps:
- name: Checkout source - name: Checkout source
...@@ -34,6 +40,6 @@ ...@@ -34,6 +40,6 @@
mq-client-version: ${{ matrix.mq-client-version }} mq-client-version: ${{ matrix.mq-client-version }}
- name: Setup python ${{ matrix.python-version }} - name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
...@@ -38,5 +44,6 @@ ...@@ -38,5 +44,6 @@
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.python-architecture }}
- name: Install pymqi - name: Install pymqi
env: env:
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
cls.qmgr.connectTCPClient(cls.queue_manager, pymqi.CD(), cls.channel, cls.qmgr.connectTCPClient(cls.queue_manager, pymqi.CD(), cls.channel,
cls.conn_info, cls.user, cls.password) cls.conn_info, cls.user, cls.password)
cls.pcf = pymqi.PCFExecute(cls.qmgr, response_wait_interval=5000) cls.pcf = pymqi.PCFExecute(cls.qmgr, response_wait_interval=15000)
cls.version = cls.inquire_qmgr_version().decode() cls.version = cls.inquire_qmgr_version().decode()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment