Skip to content

7.0.1 Release

7.0.1 Release #1953

Workflow file for this run

name: Fusion - Black Format Validation
on:
workflow_dispatch: {}
push:
branches: [ prod, dev ]
pull_request:
branches: [ prod, dev ]
jobs:
blackFormatChecker:
name: Black Format Validation
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Python Setup
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Setup Isort
run: python3 -m pip install isort
- name: Validate Isort Formatting
run: python3 ./exporter/SynthesisFusionAddin/tools/verifyIsortFormatting.py
id: isort-format-validation
continue-on-error: true
- name: Check Isort Formatting Validation
run: |
if [ ${{ steps.isort-format-validation.outcome }} == "success" ]; then
echo "Isort Formatting Validation Passed"
else
echo "Isort Formatting Validation Failed"
exit 1
fi
- name: Validate Black Formatting
uses: psf/black@stable
with:
options: "--check"
src: "./exporter/SynthesisFusionAddin/"