Merge pull request #213 from key2peace/development #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Black | |
on: | |
push: | |
branches: | |
- "master" | |
- "development" | |
pull_request: | |
jobs: | |
check-black: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v3.5.2 | |
with: | |
fetch-depth: 2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4.6.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . -r requirements-test.txt | |
- name: Black pyVoIP | |
run: black --check pyVoIP | |
- name: Black tests | |
run: black --check tests |