Sourcery refactored master branch #20
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: Black | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
formatting: | |
name: Black Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup black environment | |
run: conda create --quiet --name black black | |
- name: Check formatting | |
run: | | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
source activate black | |
black --check . |