Skip to content

Commit

Permalink
ci(actions): Update pip install command to include --no-cache-dir fla…
Browse files Browse the repository at this point in the history
…g (#6879)

GitOrigin-RevId: 9935ee6b196cabf4d9a321cce4a9b936af9bc25b
  • Loading branch information
pw-ppodhajski authored and Manul from Pathway committed Jul 5, 2024
1 parent 1030bac commit 6d8d90a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
python"${{ matrix.python-version }}" -m venv "${ENV_NAME}"
source "${ENV_NAME}/bin/activate"
WHEEL=(target/wheels/pathway-*.whl)
pip install --prefer-binary "${WHEEL}[tests]"
pip install --no-cache-dir --prefer-binary "${WHEEL}[tests]"
# --confcutdir anything below to avoid picking REPO_TOP_DIR/conftest.py
if [[ "$RUNNER_NAME" == *mac* ]]; then
export PYTEST_XDIST_AUTO_NUM_WORKERS=4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
python -m venv "${ENV_NAME}"
source "${ENV_NAME}/bin/activate"
WHEEL=(./wheels/pathway-*.whl)
pip install --prefer-binary "${WHEEL}[tests]"
pip install --no-cache-dir --prefer-binary "${WHEEL}[tests]"
# --confcutdir anything below to avoid picking REPO_TOP_DIR/conftest.py
export PYTEST_ADDOPTS="--dist worksteal -n auto"
python -m pytest -v --confcutdir "${ENV_NAME}" --doctest-modules --pyargs pathway
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
WHEEL=(./wheels/pathway-*.whl)
export PATHWAY_MONITORING_HTTP_PORT=20099
export LLAMA_READER_PORT=8799
pip install --prefer-binary "${WHEEL}[tests]"
pip install --no-cache-dir --prefer-binary "${WHEEL}[tests]"
pip install llama_index
# --confcutdir anything below to avoid picking REPO_TOP_DIR/conftest.py
if [[ "$RUNNER_NAME" == *mac* ]]; then
Expand Down

0 comments on commit 6d8d90a

Please sign in to comment.