Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 5dbf98b

Browse files
committed
Update python versions
1 parent d2536c7 commit 5dbf98b

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.github/workflows/ci.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
name: "Check style and lint"
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Set up Python
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
18-
python-version: 3.9
19-
- uses: actions/cache@v2
18+
python-version: "3.11"
19+
- uses: actions/cache@v3
2020
with:
2121
path: ${{ env.pythonLocation }}
2222
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
@@ -37,14 +37,14 @@ jobs:
3737
needs: lint
3838
strategy:
3939
matrix:
40-
python-version: [3.8, 3.9]
40+
python-version: ["3.10", "3.11"]
4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v3
4343
- name: Set up Python
44-
uses: actions/setup-python@v2
44+
uses: actions/setup-python@v4
4545
with:
4646
python-version: ${{ matrix.python-version }}
47-
- uses: actions/cache@v2
47+
- uses: actions/cache@v3
4848
with:
4949
path: ${{ env.pythonLocation }}
5050
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
@@ -60,12 +60,12 @@ jobs:
6060
runs-on: ubuntu-latest
6161
needs: lint
6262
steps:
63-
- uses: actions/checkout@v2
63+
- uses: actions/checkout@v3
6464
- name: Set up Python
65-
uses: actions/setup-python@v2
65+
uses: actions/setup-python@v4
6666
with:
6767
python-version: 3.9
68-
- uses: actions/cache@v2
68+
- uses: actions/cache@v3
6969
with:
7070
path: ${{ env.pythonLocation }}
7171
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
@@ -76,6 +76,6 @@ jobs:
7676
- name: Run pytest on ${{ matrix.python-version }}
7777
run: pytest --cov=./ --cov-report=xml
7878
- name: "Upload coverage to Codecov"
79-
uses: codecov/codecov-action@v2
79+
uses: codecov/codecov-action@v3
8080
with:
8181
fail_ci_if_error: true

.github/workflows/publish.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
name: "Package and Publish"
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- name: Set up Python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v4
1616
with:
17-
python-version: 3.9
18-
- uses: actions/cache@v2
17+
python-version: "3.11"
18+
- uses: actions/cache@v3
1919
with:
2020
path: ${{ env.pythonLocation }}
2121
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
"Operating System :: OS Independent",
3535
"Topic :: Software Development :: Libraries",
3636
"Topic :: Home Automation",
37-
"Programming Language :: Python :: 3.8",
38-
"Programming Language :: Python :: 3.9",
37+
"Programming Language :: Python :: 3.10",
38+
"Programming Language :: Python :: 3.11",
3939
])

0 commit comments

Comments
 (0)