-
-
Notifications
You must be signed in to change notification settings - Fork 170
63 lines (54 loc) · 1.12 KB
/
aiohttp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
name: Aiohttp
on:
merge_group:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
env:
COLOR: "yes"
FORCE_COLOR: 1
PY_COLORS: 1
jobs:
test-aiohttp:
name: Aiohttp tests
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
branch: ['master', '3.10', '3.11', '3.12']
steps:
- name: Checkout aiohttp
uses: actions/checkout@v4
with:
repository: aio-libs/aiohttp
ref: ${{ matrix.branch }}
submodules: true
- name: Checkout yarl
uses: actions/checkout@v4
with:
path: vendor/yarl
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
cache: pip
cache-dependency-path: requirements/*.txt
- name: Provision the dev env
run: make .develop
- name: Cythonize yarl
working-directory: vendor/yarl
run: make cythonize
- name: Install yarl
working-directory: vendor/yarl
run: >-
python -m pip install -e .
- name: Run tests
run: python -m pytest
shell: bash
...