(TG) TG demo tests #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "(TG) TG demo tests" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 1,3,5' # This cron schedule runs the workflow every Monday/Wednesday/Friday at 12am UTC | |
jobs: | |
build-artifact: | |
uses: ./.github/workflows/build-artifact.yaml | |
with: | |
arch: '["wormhole_b0"]' | |
secrets: inherit | |
tg-demo-tests: | |
needs: build-artifact | |
strategy: | |
fail-fast: false | |
matrix: | |
test-group: [ | |
{ | |
name: "TG demo tests", | |
arch: wormhole_b0, | |
runs-on: ["arch-wormhole_b0", "config-tg", "in-service", "bare-metal", "pipeline-functional"], | |
cmd: './tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type demos_tg_device --dispatch-mode ""' | |
}, | |
] | |
name: ${{ matrix.test-group.name }} | |
env: | |
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }} | |
ARCH_NAME: ${{ matrix.test-group.arch }} | |
LOGURU_LEVEL: INFO | |
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib | |
environment: dev | |
runs-on: ${{ matrix.test-group.runs-on }} | |
steps: | |
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected] | |
- name: Set up dynamic env vars for build | |
run: | | |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV | |
- uses: actions/download-artifact@v4 | |
with: | |
name: TTMetal_build_${{ matrix.test-group.arch }} | |
- name: Extract files | |
run: tar -xvf ttm_${{ matrix.test-group.arch }}.tar | |
- uses: ./.github/actions/install-python-deps | |
- name: Run demo regression tests | |
timeout-minutes: 180 | |
run: | | |
source ${{ github.workspace }}/python_env/bin/activate | |
cd $TT_METAL_HOME | |
export PYTHONPATH=$TT_METAL_HOME | |
${{ matrix.test-group.cmd }} |