@@ -12,33 +12,29 @@ jobs:
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
- runs-on : [ ubuntu-20 .04, macos-12 , windows-2019 ]
15
+ runs-on : [ ubuntu-24 .04, macos-14 , windows-2019 ]
16
16
python-arch : [ 'x64' ]
17
- python-version : [ '3.8' ]
18
17
include :
18
+ - runs-on : macos-14
19
+ python-arch : ' arm64'
19
20
- runs-on : windows-2019
20
21
python-arch : ' x86'
21
- python-version : ' 3.9'
22
- - runs-on : windows-2019
23
- python-arch : ' x64'
24
- python-version : ' 3.9'
25
22
exclude :
26
- - runs-on : windows-2019
27
- python-arch : ' x64'
28
- python-version : ' 3.8'
23
+ - runs-on : macos-14
24
+ python-arch : " x64"
29
25
env :
30
26
COVERAGE : true
31
- name : " ${{ matrix.runs-on }} - Python ${{ matrix.python-version }} ${{ matrix.python-arch }}"
27
+ name : " ${{ matrix.runs-on }} - Python 3.9 ${{ matrix.python-arch }}"
32
28
runs-on : ${{ matrix.runs-on }}
33
29
steps :
34
- - uses : actions/checkout@v3
30
+ - uses : actions/checkout@v4
35
31
with :
36
32
submodules : recursive
37
33
fetch-depth : 0
38
34
- name : Install Python
39
- uses : actions/setup-python@v3
35
+ uses : actions/setup-python@v5
40
36
with :
41
- python-version : ${{ matrix.python-version }}
37
+ python-version : " 3.9 "
42
38
architecture : ${{ matrix.python-arch }}
43
39
- name : Run pip
44
40
run : python3 -m pip install -r python/test_requirements.txt
47
43
- name : summarise coverage
48
44
run : coverage xml
49
45
- name : Upload coverage data
50
- uses : codecov/codecov-action@v3
46
+ uses : codecov/codecov-action@v4
51
47
with :
52
- name : " ${{ runner.os }}-${{ matrix.python-version }} -${{ matrix.python-arch }}"
48
+ name : " ${{ runner.os }}-3.9 -${{ matrix.python-arch }}"
53
49
token : ${{ secrets.CODECOV_TOKEN }}
54
50
55
51
vim-tests :
@@ -65,14 +61,14 @@ jobs:
65
61
YCM_TEST_STDOUT : true
66
62
name : " Vim tests - ${{ matrix.vim }}"
67
63
steps :
68
- - uses : actions/checkout@v3
64
+ - uses : actions/checkout@v4
69
65
with :
70
66
submodules : recursive
71
67
fetch-depth : 0
72
68
- name : Install dependencies
73
69
run : sudo -H pip3 install -r python/test_requirements.txt
74
70
- name : Install Java
75
- uses : actions/setup-java@v3
71
+ uses : actions/setup-java@v4
76
72
with :
77
73
java-version : 17
78
74
distribution : ' temurin'
88
84
- name : Combine and summarise coverage
89
85
run : coverage combine && coverage xml
90
86
- name : Upload coverage data
91
- uses : codecov/codecov-action@v3
87
+ uses : codecov/codecov-action@v4
92
88
with :
93
89
name : " vim-tests-${{ matrix.vim }}"
94
90
token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments