8000 Move Black from Travis to Github Actions by methane · Pull Request #390 · msgpack/msgpack-python · GitHub
[go: up one dir, main page]

Skip to content

Move Black from Travis to Github Actions #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Black

on: ["push", "pull_request"]

jobs:
black:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
architecture: 'x64'

- name: Checkout
uses: actions/checkout@v1

- name: Black Code Formatter
run: |
pip install black
black --diff --check msgpack/ test/
8 changes: 0 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ _pure: &pure

matrix:
include:
- name: Black
language: python
python: 3.7
install:
- pip install black
script:
- black --check --diff .

- name: 32bit build
language: python
services:
Expand Down
0