ci: refactor jobs and improve platform coverage (#128)
This commit is contained in:
committed by
GitHub
parent
0cd9510b54
commit
43c134d27c
20
.github/workflows/code-quality.yml
vendored
Normal file
20
.github/workflows/code-quality.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Code Quality
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
|
||||
jobs:
|
||||
black:
|
||||
name: Black
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run Black
|
||||
uses: lgeiger/black-action@master
|
||||
with:
|
||||
args: --check src/ tests/
|
||||
Reference in New Issue
Block a user