diff --git a/.github/workflows/testing-master.yml b/.github/workflows/testing-master.yml index 1c353480d..5c4d712b6 100644 --- a/.github/workflows/testing-master.yml +++ b/.github/workflows/testing-master.yml @@ -26,6 +26,7 @@ jobs: # to test the functionality of weight stationary dataflow - name: Run script file run: | + python3 -m venv venv2 && source venv2/bin/activate && pip install -r requirements.txt chmod +x ./test/scripts/function_test.sh export PYTHONPATH=. && ./test/scripts/function_test.sh shell: bash diff --git a/test/scripts/function_test.sh b/test/scripts/function_test.sh index 77a26541c..759d5a644 100644 --- a/test/scripts/function_test.sh +++ b/test/scripts/function_test.sh @@ -6,7 +6,7 @@ sed -i "s/run_name = scale_example_run_32x32_os/run_name = scale_example_run_32x sed -i "s/Dataflow : os/Dataflow : ws/" $path/configs/scale.cfg sed -i "s/save_disk_space=True/save_disk_space=False/" $path/scalesim/scale.py -source $path/venv/bin/activate +source $path/venv2/bin/activate python3 $path/scalesim/scale.py -c $path/configs/scale.cfg -t $path/topologies/conv_nets/alexnet_part.csv -p $path/test_runs