From 2f07fb0c219effc7095e13e936d7a41ffcc2bd92 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 12 Feb 2024 12:04:09 +0100 Subject: [PATCH] ci: Fix compiling pyinstaller pre-deps (#1075) Fix lack of workflow update in #1070 ## Summary by CodeRabbit - **Chores** - Updated dependency management process in the workflow to use `pyproject.toml` for generating requirements. --- .github/workflows/test_prereleases.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_prereleases.yml b/.github/workflows/test_prereleases.yml index dfbe0b68f..03a2f9f4e 100644 --- a/.github/workflows/test_prereleases.yml +++ b/.github/workflows/test_prereleases.yml @@ -8,9 +8,12 @@ on: branches: - master - develop - - bugfix/fix_pre_tests schedule: - cron: '0 */12 * * *' # every 12 hours + pull_request: + paths: + - '.github/workflows/test_prereleases.yml' + - 'pyproject.toml' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -47,7 +50,7 @@ jobs: with: python-version: ${{ matrix.python }} cache: 'pip' - cache-dependency-path: 'setup.cfg' + cache-dependency-path: 'pyproject.toml' - name: Install Windows OpenGL if: runner.os == 'Windows' @@ -111,7 +114,7 @@ jobs: pip install pip-tools - name: Compile and install PyInstaller requirements run: | - pip-compile --upgrade -o requirements.txt setup.cfg --extra pyinstaller --pre + pip-compile --upgrade -o requirements.txt pyproject.toml --extra pyinstaller --pre pip-sync pip install . - name: upload requirements