Skip to content

Commit b7bdfd5

Browse files
Cycloctaneasvetlovbdraco
authored
Add aiohttp tests to CI (#1415)
Co-authored-by: Andrew Svetlov <[email protected]> Co-authored-by: J. Nick Koston <[email protected]>
1 parent fc08cb8 commit b7bdfd5

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

.github/workflows/aiohttp.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
3+
name: Aiohttp
4+
5+
6+
on:
7+
merge_group:
8+
push:
9+
branches:
10+
- master
11+
tags:
12+
- v*
13+
pull_request:
14+
branches:
15+
- master
16+
17+
18+
env:
19+
COLOR: "yes"
20+
FORCE_COLOR: 1
21+
PY_COLORS: 1
22+
23+
24+
jobs:
25+
26+
test-aiohttp:
27+
name: Aiohttp tests
28+
runs-on: ubuntu-latest
29+
timeout-minutes: 30
30+
steps:
31+
- name: Checkout aiohttp
32+
uses: actions/checkout@v4
33+
with:
34+
repository: aio-libs/aiohttp
35+
submodules: true
36+
- name: Checkout yarl
37+
uses: actions/checkout@v4
38+
with:
39+
path: vendor/yarl
40+
- name: Setup Python
41+
uses: actions/setup-python@v5
42+
with:
43+
python-version: 3.x
44+
cache: pip
45+
cache-dependency-path: requirements/*.txt
46+
- name: Provision the dev env
47+
run: make .develop
48+
- name: Cythonize yarl
49+
working-directory: vendor/yarl
50+
run: make cythonize
51+
- name: Install yarl
52+
working-directory: vendor/yarl
53+
run: >-
54+
python -m pip install -e .
55+
- name: Run tests
56+
run: python -m pytest
57+
shell: bash
58+
59+
...

CHANGES/1415.contrib.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Started running downstream ``aiohttp`` tests in CI -- by :user:`Cycloctane`.

0 commit comments

Comments
 (0)