Skip to content

Commit

Permalink
add black check workflow
Browse files Browse the repository at this point in the history
missing python setup step

try changing workflow name

upgrade action version
  • Loading branch information
epassaro committed Dec 28, 2020
1 parent e8ef961 commit 84460c4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/black-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# For more information on how to use this template please refer to:
# http://tardis-sn.github.io/tardis/development/continuous_integration.html

name: black

on:
pull_request:
branches:
- master

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install Black
run: pip install black

- name: Run Black
run: black --check tardis

0 comments on commit 84460c4

Please sign in to comment.