# HG changeset patch
# User Seyf <25712100+SeyfSV@users.noreply.github.com>
# Date 1593675970 -10800
#      Thu Jul 02 10:46:10 2020 +0300
# Node ID 9eec9adb34798e7490b853de1925a67ff3f61c33
# Parent  31190c95cf6b4f987d89661b22584b2b09e5edd3
GH #217 Add windows x86 installation tests

diff --git a/.github/workflows/install-tests.yml b/.github/workflows/install-tests.yml
--- a/.github/workflows/install-tests.yml
+++ b/.github/workflows/install-tests.yml
@@ -11,11 +11,17 @@
       matrix:
         environment: ['macos-latest', 'windows-latest', 'ubuntu-latest']
         python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
+        python-architecture: ['x86', 'x64']
         mq-client-version: [9.1.5.0]
         exclude:
           # Windows runner does not have libraries required for build with python2.7
           - environment: windows-latest
             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}}
     steps:
       - name: Checkout source
@@ -34,9 +40,10 @@
           mq-client-version: ${{ matrix.mq-client-version }}
 
       - name: Setup python ${{ matrix.python-version }}
-        uses: actions/setup-python@v1
+        uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
+          architecture: ${{ matrix.python-architecture }}
 
       - name: Install pymqi
         env:
diff --git a/code/tests/test_setup.py b/code/tests/test_setup.py
--- a/code/tests/test_setup.py
+++ b/code/tests/test_setup.py
@@ -49,7 +49,7 @@
             cls.qmgr.connectTCPClient(cls.queue_manager, pymqi.CD(), cls.channel,
                                       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()