mirror of
https://github.com/emmett-framework/granian.git
synced 2025-12-23 05:36:49 +00:00
Use separated requirements in build workflow PGO step
This commit is contained in:
parent
a39138f949
commit
c00b83f376
2 changed files with 7 additions and 2 deletions
5
.github/workflows/_pgo_deps.txt
vendored
Normal file
5
.github/workflows/_pgo_deps.txt
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
httpx
|
||||
pytest
|
||||
pytest-asyncio
|
||||
sniffio
|
||||
websockets
|
||||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -112,8 +112,8 @@ jobs:
|
|||
- name: Generate PGO data
|
||||
shell: bash
|
||||
run: |
|
||||
pip install granian --no-index --no-deps --find-links pgo_wheel
|
||||
pip install .[test]
|
||||
pip install -r .github/workflows/_pgo_deps.txt
|
||||
pip install granian --no-index --no-deps --find-links pgo_wheel --force-reinstall
|
||||
PGO_RUN=y pytest tests
|
||||
- name: merge PGO data
|
||||
run: ${{ env.LLVM_PROFDATA }} merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue