File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484 - name : Configure poetry
8585 run : poetry config virtualenvs.in-project true
8686
87- - name : Setup cache
88- uses : actions/cache@v4
89- id : cache
90- with :
91- path : .venv
92- key : venv-${{ runner.os }}-${{ matrix.qt-version }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
93-
94- - name : Valdate cache
95- if : steps.cache.outputs.cache-hit == 'true'
96- run : |
97- # `timeout` is not available on macos, so we define a custom function.
98- [ "$(command -v timeout)" ] || function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
99-
100- # Using `timeout` is a safeguard against the Poetry command hanging for some reason.
101- timeout 10s poetry run pip --version || rm -rf .venv
102-
10387 - name : Check lock file
10488 run : poetry check --lock
10589
11094 # run: poetry run mypy
11195
11296 - name : Install Qt
113- run : poetry run pip install --ignore-installed ${{ matrix.qt-version }}
97+ run : poetry run pip install ${{ matrix.qt-version }}
11498
11599 - name : Install libxcb dependencies
116100 if : ${{ matrix.os == 'ubuntu' }}
You can’t perform that action at this time.
0 commit comments