Skip to content

Generate and update models ops tests and reimplement the models ops test failure updation script #2772

Generate and update models ops tests and reimplement the models ops test failure updation script

Generate and update models ops tests and reimplement the models ops test failure updation script #2772

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 }}-${{ inputs.mlir_override }}
cancel-in-progress: true
jobs:
spdx:
uses: ./.github/workflows/spdx.yml
secrets: inherit
pre-commit:
uses: ./.github/workflows/pre-commit.yml
secrets: inherit
docker-build:
uses: ./.github/workflows/build-image.yml
secrets: inherit
with:
mlir_override: ${{ inputs.mlir_override }}
build:
needs: docker-build
uses: ./.github/workflows/build.yml
secrets: inherit
with:
mlir_override: ${{ inputs.mlir_override }}
docker-image: ${{ needs.docker-build.outputs.docker-image }}
test:
needs:
- docker-build
- build
uses: ./.github/workflows/test.yml
secrets: inherit
with:
test_mark: 'push'
test_group_cnt: 2
test_group_ids: '[1,2]'
docker-image: ${{ needs.docker-build.outputs.docker-image }}
check-all-green:
if: always()
needs:
- pre-commit
- spdx
- docker-build
- 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) }}