Skip to content

Commit

Permalink
Merge 3a5dc4f into a669b64
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed May 4, 2021
2 parents a669b64 + 3a5dc4f commit 15c1f25
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 33 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Expand Up @@ -3,3 +3,6 @@ omit =
src/blib2to3/*
tests/data/*
*/site-packages/*

[run]
relative_files = True
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -34,3 +34,34 @@ jobs:
- name: Unit tests
run: |
tox -e py
- name: Publish coverage to Coveralls
# If pushed / is a pull request against main repo AND
# we're running on Linux (this action only supports Linux)
if:
((github.event_name == 'push' && github.repository == 'psf/black') ||
github.event.pull_request.base.repo.full_name == 'psf/black') && matrix.os ==
'ubuntu-latest'

uses: AndreMiras/coveralls-python-action@v20201129
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: py${{ matrix.python-version }}-${{ matrix.os }}
debug: true

coveralls-finish:
needs: build
# If pushed / is a pull request against main repo
if:
(github.event_name == 'push' && github.repository == 'psf/black') ||
github.event.pull_request.base.repo.full_name == 'psf/black'

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Coveralls finished
uses: AndreMiras/coveralls-python-action@v20201129
with:
parallel-finished: true
debug: true
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Expand Up @@ -3,7 +3,6 @@
<h2 align="center">The Uncompromising Code Formatter</h2>

<p align="center">
<a href="https://travis-ci.com/psf/black"><img alt="Build Status" src="https://travis-ci.com/psf/black.svg?branch=master"></a>
<a href="https://github.com/psf/black/actions"><img alt="Actions Status" src="https://github.com/psf/black/workflows/Test/badge.svg"></a>
<a href="https://github.com/psf/black/actions"><img alt="Actions Status" src="https://github.com/psf/black/workflows/Primer/badge.svg"></a>
<a href="https://black.readthedocs.io/en/stable/?badge=stable"><img alt="Documentation Status" src="https://readthedocs.org/projects/black/badge/?version=stable"></a>
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Expand Up @@ -314,7 +314,6 @@ def process_sections(
"show_powered_by": True,
"fixed_sidebar": True,
"logo": "logo2.png",
"travis_button": True,
}


Expand Down

0 comments on commit 15c1f25

Please sign in to comment.