Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc66009

Browse filesBrowse files
author
Liora Milbaum
committed
feat: Initial support for httpx
1 parent 12aea32 commit dc66009
Copy full SHA for dc66009
Expand file treeCollapse file tree

24 files changed

+926
-537
lines changed
Open diff view settings
Collapse file

‎.github/workflows/install.yml‎

Copy file name to clipboard
+50Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: "Install"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
dist:
13+
runs-on: ubuntu-latest
14+
name: Python wheel
15+
steps:
16+
- uses: actions/checkout@v1
17+
- uses: actions/setup-python@v2
18+
with:
19+
python-version: "3.10"
20+
- name: Install dependencies
21+
run: |
22+
pip install -r requirements-test.txt
23+
- name: Build package
24+
run: python -m build -o dist/
25+
- uses: actions/upload-artifact@v2
26+
with:
27+
name: dist
28+
path: dist
29+
30+
test:
31+
runs-on: ubuntu-latest
32+
needs: [dist]
33+
strategy:
34+
matrix:
35+
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
36+
install-from: ["dist/*.whl"]
37+
steps:
38+
- uses: actions/checkout@v3
39+
- name: Set up Python ${{ matrix.python-version }}
40+
uses: actions/setup-python@v4
41+
with:
42+
python-version: ${{ matrix.python-version }}
43+
- uses: actions/download-artifact@v2
44+
with:
45+
name: dist
46+
path: dist
47+
- name: install ${{ matrix.install-from }} and requirements
48+
run: pip install ${{ matrix.install-from }} -r requirements-test.txt
49+
- name: pytest
50+
run: pytest tests/install
Collapse file

‎.pre-commit-config.yaml‎

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ repos:
2626
additional_dependencies:
2727
- argcomplete==2.0.0
2828
- pytest==7.1.3
29+
- httpx==0.23.0
2930
- requests==2.28.1
3031
- requests-toolbelt==0.9.1
3132
files: 'gitlab/'
@@ -37,6 +38,7 @@ repos:
3738
additional_dependencies:
3839
- pytest==7.1.3
3940
- responses==0.21.0
41+
- httpx==0.23.0
4042
- types-PyYAML==6.0.12
4143
- types-requests==2.28.11.2
4244
- types-setuptools==64.0.1

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.