Skip to content

Commit

Permalink
Fix httpx reference in README and add build and dist check to CI work…
Browse files Browse the repository at this point in the history
…flow (#107)

* Fix readme httpx reference

* Add build and dist check to ci/cd

* Use strict twine check
  • Loading branch information
sarayourfriend authored Dec 28, 2023
1 parent 95ab9e9 commit fac40e9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,34 @@ jobs:
- name: Lint
run: hatch run lint:run

build:
name: build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'pip'

- name: Install hatch
run: pipx install hatch

- name: Install twine
run: pipx install twine

- name: Build distribution
run: hatch build

- name: Check build
run: twine check --strict dist/*

test:
name: test on ${{ matrix.py }}
runs-on: ubuntu-22.04
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ MIT - Tomas Aparicio
.. _annotated API reference: http://pook.readthedocs.io/en/latest/api.html
.. _examples: http://pook.readthedocs.io/en/latest/examples.html
.. _aiohttp: https://github.com/KeepSafe/aiohttp
.. _httpx: https://www.python-httpx.org/
.. _requests: http://docs.python-requests.org/en/master/
.. _urllib3: https://github.com/shazow/urllib3
.. _urllib: https://docs.python.org/3/library/urllib.html
Expand Down

0 comments on commit fac40e9

Please sign in to comment.