diff --git a/.github/workflows/run-tokenizer-tests.yml b/.github/workflows/run-tokenizer-tests.yml index d9abea9f..20bca6c2 100644 --- a/.github/workflows/run-tokenizer-tests.yml +++ b/.github/workflows/run-tokenizer-tests.yml @@ -67,31 +67,32 @@ jobs: run: | ls -la ${GITHUB_WORKSPACE} + # Place sleep step before the test execution to "exec" into the test k8s POD and run tests manually to identify what dependencies are being used. + - name: "[DEBUG] sleep" + id: sleep + if: ${{ github.event.inputs.debug == 'true' && github.event.inputs.sleep_time != '' }} + run: | + sleep ${{ inputs.sleep_time }} + # TODO Identify version of pip prior to installing dependencies - name: "Installing 'llama-models' dependencies" id: pip_install run: | echo "[STEP] Installing 'llama-models' models" - pip install -U pip setuptools + pip3 install -U pip setuptools + pip3 install -r requirements.txt - name: Set environment variable id: set_env run: | echo "TOKENIZER_PATH=models/llama3/api/tokenizer.py" >> $GITHUB_ENV - # Place sleep step before the test execution to "exec" into the test k8s POD and run tests manually to identify what dependencies are being used. - - name: "[DEBUG] sleep" - id: sleep - if: ${{ github.event.inputs.debug == 'true' && github.event.inputs.sleep_time != '' }} - run: | - sleep ${{ inputs.sleep_time }} - # TODO Identify version of python prior to running tests - name: Run tests id: run_tests run: | echo "Running tests on Self-Hosted k8s ARC Runner" - cd $GITHUB_WORKSPACE && python -m unittest models/llama3/api/test_tokenizer.py + cd $GITHUB_WORKSPACE && python3 -m unittest models/llama3/api/test_tokenizer.py - name: Publish Test Summary id: test_summary