Skip to content

Blackhole post-commit tests #1180

Blackhole post-commit tests

Blackhole post-commit tests #1180

name: "Blackhole post-commit tests"
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "0 */2 * * *"
# Pause this since not enough runners to support every commit to main
# push:
# branches: ["main"]
permissions:
actions: read
contents: read
pages: write
id-token: write
packages: write
jobs:
static-checks:

Check failure on line 20 in .github/workflows/blackhole-post-commit.yaml

View workflow run for this annotation

GitHub Actions / Blackhole post-commit tests

Invalid workflow file

The workflow is not valid. .github/workflows/blackhole-post-commit.yaml (Line: 20, Col: 3): Error calling workflow 'tenstorrent/tt-metal/.github/workflows/all-static-checks.yaml@e71b3e85890f90ec73faae4a2928c60e7233eadc'. The nested job 'clang-tidy' is requesting 'contents: write, pull-requests: write', but is only allowed 'contents: read, pull-requests: none'.
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-docker-image:
uses: ./.github/workflows/build-docker-artifact.yaml
secrets: inherit
build-artifact:
needs: build-docker-image
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
with:
arch: '["blackhole"]'
build-docker: false
build-wheels:
needs: build-artifact
uses: ./.github/workflows/_build-wheels-impl.yaml
with:
os: "ubuntu-20.04"
arch: "blackhole"
from-precompiled: true
# build-artifact-profiler:
# uses: ./.github/workflows/build-artifact.yaml
# with:
# profiler-build: true
# secrets: inherit
umd-unit-tests:
secrets: inherit
uses: ./.github/workflows/umd-unit-tests.yaml
with:
arch: blackhole
runner-label: BH
sd-unit-tests:
needs: build-artifact
uses: ./.github/workflows/build-and-unit-tests.yaml
secrets: inherit
with:
arch: blackhole
runner-label: BH
timeout: 30
fd-unit-tests:
needs: build-wheels
uses: ./.github/workflows/fast-dispatch-build-and-unit-tests.yaml
secrets: inherit
with:
arch: blackhole
runner-label: BH
# FD C++ Unit Tests
cpp-unit-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/cpp-post-commit.yaml
with:
arch: blackhole
runner-label: BH
timeout: 60
# profiler-regression:
# needs: build-artifact-profiler
# uses: ./.github/workflows/run-profiler-regression.yaml
# secrets: inherit
# build-and-test-wheels:
# uses: Check all-post-commit yaml for directions
# secrets: inherit
# build-docs:
# needs: build-artifact
# uses: ./.github/workflows/docs-latest-public.yaml
# secrets: inherit
# build:
# uses: ./.github/workflows/build.yaml
# secrets: inherit
# We used to use this for post-commit, but we didn't have enough runners
# to support the number of developers running this workflow
# build-and-test-measure-perf:
# build-and-test-measure-perf-device: