Skip to content

Commit 45b3c56

Browse files
committed
Update CI config
1 parent 52618ae commit 45b3c56

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

.github/workflows/ci.yml

+14-18
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,29 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
runs-on: [ ubuntu-20.04, macos-12, windows-2019 ]
15+
runs-on: [ ubuntu-24.04, macos-14, windows-2019 ]
1616
python-arch: [ 'x64' ]
17-
python-version: [ '3.8' ]
1817
include:
18+
- runs-on: macos-14
19+
python-arch: 'arm64'
1920
- runs-on: windows-2019
2021
python-arch: 'x86'
21-
python-version: '3.9'
22-
- runs-on: windows-2019
23-
python-arch: 'x64'
24-
python-version: '3.9'
2522
exclude:
26-
- runs-on: windows-2019
27-
python-arch: 'x64'
28-
python-version: '3.8'
23+
- runs-on: macos-14
24+
python-arch: "x64"
2925
env:
3026
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 }}"
3228
runs-on: ${{ matrix.runs-on }}
3329
steps:
34-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3531
with:
3632
submodules: recursive
3733
fetch-depth: 0
3834
- name: Install Python
39-
uses: actions/setup-python@v3
35+
uses: actions/setup-python@v5
4036
with:
41-
python-version: ${{ matrix.python-version }}
37+
python-version: "3.9"
4238
architecture: ${{ matrix.python-arch }}
4339
- name: Run pip
4440
run: python3 -m pip install -r python/test_requirements.txt
@@ -47,9 +43,9 @@ jobs:
4743
- name: summarise coverage
4844
run: coverage xml
4945
- name: Upload coverage data
50-
uses: codecov/codecov-action@v3
46+
uses: codecov/codecov-action@v4
5147
with:
52-
name: "${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.python-arch }}"
48+
name: "${{ runner.os }}-3.9-${{ matrix.python-arch }}"
5349
token: ${{ secrets.CODECOV_TOKEN }}
5450

5551
vim-tests:
@@ -65,14 +61,14 @@ jobs:
6561
YCM_TEST_STDOUT: true
6662
name: "Vim tests - ${{ matrix.vim }}"
6763
steps:
68-
- uses: actions/checkout@v3
64+
- uses: actions/checkout@v4
6965
with:
7066
submodules: recursive
7167
fetch-depth: 0
7268
- name: Install dependencies
7369
run: sudo -H pip3 install -r python/test_requirements.txt
7470
- name: Install Java
75-
uses: actions/setup-java@v3
71+
uses: actions/setup-java@v4
7672
with:
7773
java-version: 17
7874
distribution: 'temurin'
@@ -88,7 +84,7 @@ jobs:
8884
- name: Combine and summarise coverage
8985
run: coverage combine && coverage xml
9086
- name: Upload coverage data
91-
uses: codecov/codecov-action@v3
87+
uses: codecov/codecov-action@v4
9288
with:
9389
name: "vim-tests-${{ matrix.vim }}"
9490
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)