| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ab67a7a commit bd80d20
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,33 @@ | |||
| 1 | + name: CI | ||
| 2 | + | ||
| 3 | + on: | ||
| 4 | + push: | ||
| 5 | + branches: | ||
| 6 | + - master | ||
| 7 | + pull_request: | ||
| 8 | + branches: | ||
| 9 | + - "**" | ||
| 10 | + | ||
| 11 | + jobs: | ||
| 12 | + build: | ||
| 13 | + runs-on: ${{ matrix.os }} | ||
| 14 | + strategy: | ||
| 15 | + matrix: | ||
| 16 | + os: [ubuntu-latest, macos-latest, windows-latest] | ||
| 17 | + python-version: [3.6, 3.7, 3.8, 3.9, pypy3] | ||
| 18 | + steps: | ||
| 19 | + - uses: actions/checkout@v2 | ||
| 20 | + - name: Set up Python ${{ matrix.python-version }} | ||
| 21 | + uses: actions/setup-python@v2 | ||
| 22 | + with: | ||
| 23 | + python-version: ${{ matrix.python-version }} | ||
| 24 | + - name: Install dependencies | ||
| 25 | + run: | | ||
| 26 | + pip install --upgrade -r requirements-dev.txt | ||
| 27 | + pip install . | ||
| 28 | + - name: Run tests | ||
| 29 | + run: make ci | ||
| 30 | + env: | ||
| 31 | + SKIP_IPV6: 1 | ||
| 32 | + - name: Report coverage to Codecov | ||
| 33 | + uses: codecov/codecov-action@v1 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,14 +1,14 @@ | |||
| 1 | 1 | python-zeroconf | |
| 2 | 2 | =============== | |
| 3 | 3 | ||
| 4 | - .. image:: https://travis-ci.org/jstasiak/python-zeroconf.svg?branch=master | ||
| 5 | - :target: https://travis-ci.org/jstasiak/python-zeroconf | ||
| 6 | - | ||
| 4 | + .. image:: https://github.com/jstasiak/python-zeroconf/workflows/CI/badge.svg | ||
| 5 | + :target: https://github.com/jstasiak/python-zeroconf?query=workflow%3ACI+branch%3Amaster | ||
| 6 | + | ||
| 7 | 7 | .. image:: https://img.shields.io/pypi/v/zeroconf.svg | |
| 8 | 8 | :target: https://pypi.python.org/pypi/zeroconf | |
| 9 | 9 | ||
| 10 | - .. image:: https://img.shields.io/coveralls/jstasiak/python-zeroconf.svg | ||
| 11 | - :target: https://coveralls.io/r/jstasiak/python-zeroconf | ||
| 10 | + .. image:: https://codecov.io/gh/jstasiak/python-zeroconf/branch/master/graph/badge.svg | ||
| 11 | + :target: https://codecov.io/gh/jstasiak/python-zeroconf | ||
| 12 | 12 | ||
| 13 | 13 | `Documentation <https://python-zeroconf.readthedocs.io/en/latest/>`_. | |
| 14 | 14 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,16 +1,14 @@ | |||
| 1 | 1 | Welcome to python-zeroconf documentation! | |
| 2 | 2 | ========================================= | |
| 3 | 3 | ||
| 4 | - .. image:: https://travis-ci.org/jstasiak/python-zeroconf.svg?branch=master | ||
| 5 | - :alt: Build status | ||
| 6 | - :target: https://travis-ci.org/jstasiak/python-zeroconf | ||
| 4 | + .. image:: https://github.com/jstasiak/python-zeroconf/workflows/CI/badge.svg | ||
| 5 | + :target: https://github.com/jstasiak/python-zeroconf?query=workflow%3ACI+branch%3Amaster | ||
| 7 | 6 | ||
| 8 | 7 | .. image:: https://img.shields.io/pypi/v/zeroconf.svg | |
| 9 | 8 | :target: https://pypi.python.org/pypi/zeroconf | |
| 10 | - | ||
| 11 | - .. image:: https://coveralls.io/repos/github/jstasiak/python-zeroconf/badge.svg?branch=master | ||
| 12 | - :alt: Covergage status | ||
| 13 | - :target: https://coveralls.io/github/jstasiak/python-zeroconf?branch=master | ||
| 9 | + | ||
| 10 | + .. image:: https://codecov.io/gh/jstasiak/python-zeroconf/branch/master/graph/badge.svg | ||
| 11 | + :target: https://codecov.io/gh/jstasiak/python-zeroconf | ||
| 14 | 12 | ||
| 15 | 13 | GitHub (code repository, issues): https://github.com/jstasiak/python-zeroconf | |
| 16 | 14 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,12 @@ | |||
| 1 | 1 | autopep8 | |
| 2 | + black;implementation_name=="cpython" | ||
| 2 | 3 | coveralls | |
| 3 | 4 | coverage | |
| 4 | 5 | # Version restricted because of https://github.com/PyCQA/pycodestyle/issues/741 | |
| 5 | 6 | flake8>=3.6.0 | |
| 6 | 7 | flake8-import-order | |
| 7 | 8 | ifaddr | |
| 9 | + mypy;implementation_name=="cpython" | ||
| 8 | 10 | # 0.11.0 breaks things https://github.com/PyCQA/pep8-naming/issues/152 | |
| 9 | 11 | pep8-naming!=0.6.0,!=0.11.0 | |
| 10 | 12 | pytest | |
| Back | FazBrowse Home | New Git URL |
0 commit comments