Skip to content

8558: blank

8558: blank #17

Workflow file for this run

name: "[TGG] TGG unit tests"
on:
push:
branches:
- tpatel/issue-8558
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # This cron schedule runs the workflow every day at 12am UTC
jobs:
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
TGG-tests:
needs: build-artifact
strategy:
fail-fast: false
matrix:
test-group: [

Check failure on line 20 in .github/workflows/tgg-unit-tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/tgg-unit-tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
{
name: "TGG unit tests",
arch: wormhole_b0,
runs-on: [arch-wormhole_b0, "config-tgg", "in-service", "runner-test", "bare-metal", "pipeline-functional"],
cmd: cmd: './tests/scripts/run_tests.sh --tt-arch wormhole_b0 --pipeline-type unit_tgg_device --dispatch-mode ""'
},
]
name: ${{ matrix.test-group.name }} ${{ matrix.test-group.arch }}
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
ARCH_NAME: ${{ matrix.test-group.arch }}
LOGURU_LEVEL: INFO
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
runs-on: ${{ matrix.runner-info.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.runner-info.arch }}
- name: Extract files
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Run unit regression tests
timeout-minutes: 45
run: |
source ${{ github.workspace }}/python_env/bin/activate
cd $TT_METAL_HOME
export PYTHONPATH=$TT_METAL_HOME
${{ matrix.test-group.cmd }}