8
8
strategy :
9
9
max-parallel : 4
10
10
matrix :
11
- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.8 "]
12
- os : [ubuntu-20 .04, windows-latest]
11
+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10 "]
12
+ os : [ubuntu-24 .04, windows-latest]
13
13
exclude :
14
14
- os : windows-latest
15
15
python-version : " 3.9"
@@ -20,12 +20,12 @@ jobs:
20
20
- os : windows-latest
21
21
python-version : " 3.12"
22
22
- os : windows-latest
23
- python-version : " pypy3.8 "
23
+ python-version : " pypy3.10 "
24
24
25
25
steps :
26
- - uses : actions/checkout@v3
26
+ - uses : actions/checkout@v4
27
27
- name : Set up Python ${{ matrix.python-version }}
28
- uses : actions/setup-python@v4
28
+ uses : actions/setup-python@v5
29
29
with :
30
30
python-version : ${{ matrix.python-version }}
31
31
- name : Install dependencies
@@ -38,18 +38,18 @@ jobs:
38
38
TOXENV : ${{ matrix.toxenv }}
39
39
40
40
single_extra :
41
- runs-on : ubuntu-20 .04
41
+ runs-on : ubuntu-24 .04
42
42
strategy :
43
43
fail-fast : false
44
44
matrix :
45
45
dependency : ["aiohttp", "requests", "httpx", "websockets"]
46
46
47
47
steps :
48
- - uses : actions/checkout@v3
49
- - name : Set up Python 3.8
50
- uses : actions/setup-python@v4
48
+ - uses : actions/checkout@v4
49
+ - name : Set up Python 3.12
50
+ uses : actions/setup-python@v5
51
51
with :
52
- python-version : 3.8
52
+ python-version : 3.12
53
53
- name : Install dependencies with only ${{ matrix.dependency }} extra dependency
54
54
run : |
55
55
python -m pip install --upgrade pip wheel
@@ -58,19 +58,22 @@ jobs:
58
58
run : pytest tests --${{ matrix.dependency }}-only
59
59
60
60
coverage :
61
- runs-on : ubuntu-20 .04
61
+ runs-on : ubuntu-24 .04
62
62
63
63
steps :
64
- - uses : actions/checkout@v3
65
- - name : Set up Python 3.8
66
- uses : actions/setup-python@v4
64
+ - uses : actions/checkout@v4
65
+ - name : Set up Python 3.12
66
+ uses : actions/setup-python@v5
67
67
with :
68
- python-version : 3.8
68
+ python-version : 3.12
69
69
- name : Install test dependencies
70
70
run : |
71
71
python -m pip install --upgrade pip wheel
72
72
pip install -e.[test]
73
73
- name : Test with coverage
74
74
run : pytest --cov=gql --cov-report=xml --cov-report=term-missing tests
75
75
- name : Upload coverage to Codecov
76
- uses : codecov/codecov-action@v1
76
+ uses : codecov/codecov-action@v4
77
+ with :
78
+ fail_ci_if_error : false
79
+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments