Revert "setup cleanup (#29419)" (#29451)

This reverts commit ad32816fd6.
This commit is contained in:
Justin Newberry
2023-08-17 13:23:06 -07:00
committed by GitHub
parent 61a00d2673
commit 1944945d9d
5 changed files with 47 additions and 14 deletions

View File

@@ -149,17 +149,18 @@ jobs:
PYTHONWARNINGS: default
- name: Build openpilot
run: |
eval "$(pyenv init --path)"
source tools/openpilot_env.sh
poetry run scons -j$(nproc)
- name: Run tests
run: |
eval "$(pyenv init --path)"
source tools/openpilot_env.sh
export PYTHONPATH=$PWD
poetry run tools/plotjuggler/test_plotjuggler.py
- name: Pre Cache - Cleanup scons cache
if: github.ref == 'refs/heads/master'
run: |
source tools/openpilot_env.sh
rm -rf /tmp/scons_cache/*
eval "$(pyenv init --path)"
poetry run scons -j$(nproc) --cache-populate
- name: Save scons cache
id: scons-save-cache