Skip to content

Commit

Permalink
ci: Fix compiling pyinstaller pre-deps (#1075)
Browse files Browse the repository at this point in the history
Fix lack of workflow update in #1070 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Chores**
- Updated dependency management process in the workflow to use
`pyproject.toml` for generating requirements.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Czaki authored Feb 12, 2024
1 parent 7ff8d84 commit 2f07fb0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test_prereleases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2f07fb0

Please sign in to comment.