Skip to content

Commit

Permalink
Use coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng committed Jan 25, 2024
1 parent 289d371 commit f918618
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
run: pip install -r requirements.txt
- name: Test
run: pytest --cov
- name: Upload coverage to Codecov (ubuntu-latest only)
- name: Upload coverage to Coveralls
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
uses: codecov/codecov-action@v3
uses: coverallsapp/github-action@v2
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# get_ips

![Python](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue)

[![Codecov Coverage](https://img.shields.io/codecov/c/github/elliotwutingfeng/get_ips?color=bright-green&logo=codecov&style=for-the-badge&token=63a1xj1fbI)](https://codecov.io/gh/elliotwutingfeng/get_ips)

[![Coveralls](https://img.shields.io/coverallsCoverage/github/elliotwutingfeng/get_ips?logo=coveralls&style=for-the-badge)](https://coveralls.io/github/elliotwutingfeng/get_ips?branch=main)
[![GitHub license](https://img.shields.io/badge/LICENSE-BSD--3--CLAUSE-GREEN?style=for-the-badge)](LICENSE)

Get IPv4 and IPv6 addresses of hostnames using [socket.getaddrinfo()](https://docs.python.org/3/library/socket.html#socket.getaddrinfo).
Expand Down

0 comments on commit f918618

Please sign in to comment.