Skip to content

Commit

Permalink
add python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mib1185 committed Jan 14, 2023
1 parent e5bc103 commit bbb24a4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4.3.0
with:
python-version: "3.9"
python-version: "3.10"

- name: Install build dependencies
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ jobs:
pre-commit run --all-files --show-diff-on-failure
tests:
name: Test ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { python-version: 3.9, os: ubuntu-latest }
- { python-version: 3.8, os: ubuntu-latest }
- { python-version: 3.7, os: ubuntu-latest }
- { python-version: 3.9, os: macos-latest }
- python-version: 3.7
- python-version: 3.8
- python-version: 3.9
- python-version: 3.10

steps:
- name: Check out the repository
Expand All @@ -78,7 +78,7 @@ jobs:
coverage run --parallel -m pytest
- name: Upload coverage data
if: matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'
if: matrix.python-version == '3.10'
uses: "actions/upload-artifact@v3.1.1"
with:
name: coverage-data
Expand All @@ -91,10 +91,10 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v3.0.2

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v4.3.0
with:
python-version: 3.9
python-version: 3.10

- name: Install dependencies
run: |
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries",
]
keywords=["synology-dsm", "synology"]
Expand Down

0 comments on commit bbb24a4

Please sign in to comment.