Skip to content

[ci] Add workflows to validate TE QA test cases #2

[ci] Add workflows to validate TE QA test cases

[ci] Add workflows to validate TE QA test cases #2

Workflow file for this run

name: QA Format Check
on:
pull_request:
branches: [ "main" ]
types: [opened, synchronize, reopened]
push:
branches:
- main
jobs:
qa_format:
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
- name: Install dependencies
run: |
pip install black==24.4.2 isort==5.13.2 pre-commit==2.17.0
- name: QA Check Pre-Commit
env:
TE_PATH: .
run: |
set +e
bash -x ./qa/format.sh;EXCODE=$?
exit $EXCODE