This is an automated email from the ASF dual-hosted git repository. jdanek pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-python.git
The following commit(s) were added to refs/heads/main by this push: new 115a829 QPID-8631: temporarily use qpid-cpp main branch (instead of the last released version) when running tests (#26) 115a829 is described below commit 115a82993f32cbf25e2406ace1ef763cab9e227a Author: Jiri Daněk <jda...@redhat.com> AuthorDate: Sat Sep 30 11:44:39 2023 +0200 QPID-8631: temporarily use qpid-cpp main branch (instead of the last released version) when running tests (#26) --- .github/workflows/python-package.yml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index fd54bc9..ca2bee8 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -318,6 +318,21 @@ jobs: # the qpid-python dependency is the current package ${{ steps.python.outputs.python-path }} -m pip install --user qpid-tools qpid-qmf --no-deps + - name: Clone qpid-cpp main + if: matrix.python-version != '2.7' + uses: actions/checkout@v3 + with: + repository: apache/qpid-cpp + ref: main + path: qpid-cpp + + - name: Install test dependencies from qpid-cpp main (for Python 3) + if: matrix.python-version != '2.7' + run: | + for d in $(find $PWD/qpid-cpp/management/python/lib/* -type d); do + ln -s $d ./ + done + - name: C++ Broker tests with the 🛞 runner we ❤️ run: | ${{ steps.python.outputs.python-path }} qpid-python-test -m qpid_tests @@ -361,11 +376,27 @@ jobs: run: | ${{ steps.python.outputs.python-path }} -m pip install --upgrade pip - - name: Install test dependencies from pip + - name: Install test dependencies from pip (for Python 2) + if: matrix.python-version == '2.7' run: | # the qpid-python dependency is the current package ${{ steps.python.outputs.python-path }} -m pip install --user qpid-tools qpid-qmf --no-deps + - name: Clone qpid-cpp main + if: matrix.python-version != '2.7' + uses: actions/checkout@v3 + with: + repository: apache/qpid-cpp + ref: main + path: qpid-cpp + + - name: Install test dependencies from qpid-cpp main (for Python 3) + if: matrix.python-version != '2.7' + run: | + for d in $(find $PWD/qpid-cpp/management/python/lib/* -type d); do + ln -s $d ./ + done + # https://github.com/chrisob/qpid-broker-j-docker - name: Start qpidj run: | --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org