Skip to content

Commit

Permalink
Merge branch 'main' into mlflow-log-model
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg authored Oct 2, 2023
2 parents 1dfbaac + a0e64ba commit c7161f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/mcp/mcp_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@
if len(name) > 56:
name = name[:56]

clear_tmp_path_flag = '-o tmp_path_retention_policy=none'
command += f'''
pip install --upgrade --user .[all]
export COMMON_ARGS="-v --durations=20 -m '{args.pytest_markers}'"
export COMMON_ARGS="-v --durations=20 -m '{args.pytest_markers}' {clear_tmp_path_flag}"
make test PYTEST='{args.pytest_command}' EXTRA_ARGS="$COMMON_ARGS --codeblocks"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
set -ex
export PATH=/composer-python:$PATH
export COMMON_ARGS="-v --durations=20 -m '${{ inputs.pytest-markers }}'"
export COMMON_ARGS="-v --durations=20 -m '${{ inputs.pytest-markers }}' -o tmp_path_retention_policy=none"
# Necessary to run git diff for doctests
git config --global --add safe.directory /__w/llm-foundry/llm-foundry
Expand Down

0 comments on commit c7161f8

Please sign in to comment.