From d5e9aba939938de58aa4bf32ea1e6bb87881d01f Mon Sep 17 00:00:00 2001 From: Igor Tatarnikov <61896994+IgorTatarnikov@users.noreply.github.com> Date: Mon, 13 Nov 2023 20:10:07 +0000 Subject: [PATCH] Update test_and_deploy.yml Install Python before running the tlamba/setup-qt-libs@v1 --- .github/workflows/test_and_deploy.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index b8fe9ae..bf6dc55 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -31,10 +31,14 @@ jobs: python-version: "3.11" steps: + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + # these libraries enable testing on Qt on linux + - uses: tlambert03/setup-qt-libs@v1 # Run tests - - name: Setup Qt requirements - if: runner.os == 'linux' - run: 'sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0' - uses: neuroinformatics-unit/actions/test@v2 with: python-version: ${{ matrix.python-version }}