Skip to content

Commit 571e84d

Browse files
author
Michaël Arnauts
committed
Update CI
1 parent 8a84304 commit 571e84d

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,27 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ ubuntu-latest ]
18-
python-version: [ '2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10' ]
17+
os: [ ubuntu-latest, windows-latest ]
18+
python-version: ["3.8", "3.9", "3.10"]
1919
include:
20+
# End-of-life Python versions are not available anymore with ubuntu-latest
21+
- os: ubuntu-20.04
22+
python-version: "2.7"
23+
- os: ubuntu-20.04
24+
python-version: "3.5"
25+
- os: ubuntu-20.04
26+
python-version: "3.6"
27+
- os: ubuntu-20.04
28+
python-version: "3.7"
2029
# Kodi Leia on Windows uses a bundled Python 2.7.
2130
- os: windows-latest
22-
python-version: '2.7'
23-
24-
# Kodi Matrix on Windows uses a bundled Python 3.8, but we test 3.9 and 3.10 also to be sure.
25-
- os: windows-latest
26-
python-version: '3.8'
27-
- os: windows-latest
28-
python-version: '3.9'
29-
- os: windows-latest
30-
python-version: '3.10'
31+
python-version: "2.7"
3132
steps:
3233
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
33-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3435

3536
- name: Set up Python ${{ matrix.python-version }}
36-
uses: actions/setup-python@v2
37+
uses: actions/setup-python@v4
3738
with:
3839
python-version: ${{ matrix.python-version }}
3940

@@ -59,7 +60,7 @@ jobs:
5960
run: pytest -x -v --cov=./ --cov-report=xml tests
6061

6162
- name: Upload code coverage to CodeCov
62-
uses: codecov/codecov-action@v1
63+
uses: codecov/codecov-action@v3
6364
continue-on-error: true
6465
env:
6566
OS: ${{ matrix.os }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![GitHub release](https://img.shields.io/github/release/add-ons/plugin.video.vtm.go.svg)](https://github.com/add-ons/plugin.video.vtm.go/releases)
2-
[![Build Status](https://img.shields.io/github/workflow/status/add-ons/plugin.video.vtm.go/CI/master)](https://github.com/add-ons/plugin.video.vtm.go/actions?query=branch%3Amaster)
1+
[![GitHub release](https://img.shields.io/github/v/release/add-ons/plugin.video.vtm.go?display_name=tag)](https://github.com/add-ons/plugin.video.vtm.go/releases)
2+
[![Build Status](https://img.shields.io/github/actions/workflow/status/add-ons/plugin.video.vtm.go/ci.yml?branch=master)](https://github.com/add-ons/plugin.video.vtm.go/actions?query=branch%3Amaster)
33
[![Codecov status](https://img.shields.io/codecov/c/github/add-ons/plugin.video.vtm.go/master)](https://codecov.io/gh/add-ons/plugin.video.vtm.go/branch/master)
44
[![License: GPLv3](https://img.shields.io/badge/License-GPLv3-yellow.svg)](https://opensource.org/licenses/GPL-3.0)
55
[![Contributors](https://img.shields.io/github/contributors/add-ons/plugin.video.vtm.go.svg)](https://github.com/add-ons/plugin.video.vtm.go/graphs/contributors)

0 commit comments

Comments
 (0)