Don't include baseline benchmarks if setup without IMPORTER=1. (#607)

This commit is contained in:
Ean Garvey
2022-12-10 14:58:29 -06:00
committed by GitHub
parent 57c94f8f80
commit 616ee9b824
2 changed files with 42 additions and 19 deletions

View File

@@ -129,6 +129,6 @@ jobs:
if: matrix.suite == 'vulkan' && matrix.os != 'MacStudio'
run: |
cd $GITHUB_WORKSPACE
PYTHON=python${{ matrix.python-version }} BENCHMARK=1 IMPORTER=1 ./setup_venv.sh
PYTHON=python${{ matrix.python-version }} ./setup_venv.sh
source shark.venv/bin/activate
pytest --ci --ci_sha=${SHORT_SHA} -s --local_tank_cache="/data/anush/shark_cache" tank/test_models.py -k vulkan --update_tank
pytest --benchmark --ci --ci_sha=${SHORT_SHA} -s --local_tank_cache="/data/anush/shark_cache" tank/test_models.py -k vulkan --update_tank