Skip to content

Nsumrak/test coverage fix #1136

Nsumrak/test coverage fix

Nsumrak/test coverage fix #1136

Workflow file for this run

name: On PR
on:
workflow_dispatch:
inputs:
mlir_override:
description: 'Git SHA of commit in tenstorrent/tt-mlir'
required: false
type: string
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
uses: ./.github/workflows/pre-commit.yml
secrets: inherit
spdx:
uses: ./.github/workflows/spdx.yml
secrets: inherit
docker-build:
uses: ./.github/workflows/build-image.yml
secrets: inherit
with:
mlir_override: ${{ inputs.mlir_override }}
build:
needs: [pre-commit, spdx, docker-build]
uses: ./.github/workflows/run-build.yml
secrets: inherit
with:
mlir_override: ${{ github.event.inputs.mlir_override }}
docker-image: ${{ needs.docker-build.outputs.docker-image }}
test:
needs: [build, docker-build]
uses: ./.github/workflows/run-tests.yml
secrets: inherit
with:
docker-image: ${{ needs.docker-build.outputs.docker-image }}
check-all-green:
if: always()
needs:
- pre-commit
- spdx
- build
- test
runs-on: Ubuntu-latest
steps:
- name: Check if the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}