diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7ee4678..986c35a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,7 +106,7 @@ jobs: RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata" - name: Generate PGO data run: | - pip install pytest pytest-asyncio httpx websockets + pip install .[test] pip install granian --no-index --no-deps --find-links pgo_wheel --force-reinstall PGO_RUN=y pytest tests - name: merge PGO data diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 906b540b..d2dfa85b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -129,7 +129,7 @@ jobs: RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata" - name: Generate PGO data run: | - pip install pytest pytest-asyncio httpx websockets + pip install .[test] pip install granian --no-index --no-deps --find-links pgo_wheel --force-reinstall PGO_RUN=y pytest tests - name: merge PGO data