diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 23f9ed04b..4e5417eed 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -506,20 +506,24 @@ jobs: run: cp config.conf.template config.conf working-directory: test + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python[1] }} + - name: Install wheel - run: python${{ matrix.python[1] }} -m pip install aerospike --force-reinstall --no-index --find-links=./ + run: python3 -m pip install aerospike --force-reinstall --no-index --find-links=./ - name: Connect to Docker container on remote machine with Docker daemon # DOCKER_HOST contains the IP address of the remote machine run: | - python${{ matrix.python[1] }} -m pip install crudini==0.9.4 + python3 -m pip install crudini==0.9.4 $env:DOCKER_HOST_IP = $env:DOCKER_HOST | foreach {$_.replace("tcp://","")} | foreach {$_.replace(":2375", "")} - python${{ matrix.python[1] }} -m crudini --set config.conf community-edition hosts ${env:DOCKER_HOST_IP}:3000 + python3 -m crudini --set config.conf community-edition hosts ${env:DOCKER_HOST_IP}:3000 working-directory: test - - run: python${{ matrix.python[1] }} -m pip install pytest -c requirements.txt + - run: python3 -m pip install pytest -c requirements.txt working-directory: test - - run: python${{ matrix.python[1] }} -m pytest new_tests/ + - run: python3 -m pytest new_tests/ working-directory: test - name: Cleanup