Skip to content

Revert "Revert "Revert "Fix Sonar Cloud""" #19

Revert "Revert "Revert "Fix Sonar Cloud"""

Revert "Revert "Revert "Fix Sonar Cloud""" #19

name: ON_PR_FORMAT_CHECK
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8.12]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install formatter
run: |
python -m pip install --upgrade pip
pip install -r .github/workflows/requirements.txt
- name: Test with black
run: |
black --check ./BiWAKO
- name: Run isort
run: |
isort ./BiWAKO