diff --git a/.github/workflows/python-code-format.yml b/.github/workflows/python-code-format.yml index 3e2c636..6d903ad 100644 --- a/.github/workflows/python-code-format.yml +++ b/.github/workflows/python-code-format.yml @@ -14,13 +14,13 @@ permissions: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Check python code formatting steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install dependencies diff --git a/.github/workflows/python-publish-pypi.yml b/.github/workflows/python-publish-pypi.yml index d583f30..eb32493 100644 --- a/.github/workflows/python-publish-pypi.yml +++ b/.github/workflows/python-publish-pypi.yml @@ -9,13 +9,13 @@ permissions: jobs: verify: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Verify Python build context steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Verify version @@ -48,17 +48,17 @@ jobs: python -m black denonavr tests --check --verbose - name: Integration test with pytest run: | - python -m pytest tests --timeout=30 --durations=10 + python -m pytest tests --timeout=60 --durations=10 build: name: Build and publish PyPi package needs: verify - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository_owner == 'ol-iver' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install dependencies diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 9b08bc1..9971a2c 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -14,16 +14,16 @@ permissions: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"] name: Testing Python ${{ matrix.python-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -33,4 +33,4 @@ jobs: if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi - name: Integration test with pytest run: | - python -m pytest tests --timeout=30 --durations=10 + python -m pytest tests --timeout=60 --durations=10 diff --git a/tox.ini b/tox.ini index b412f60..cd80c93 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,py39,py310,py311,py312,pylint,lint,format +envlist = py37,py38,py39,py310,py311,py312,py313,pylint,lint,format skip_missing_interpreters = True [testenv:format] @@ -30,4 +30,4 @@ setenv = PYTHONPATH = {toxinidir} deps = -r{toxinidir}/test-requirements.txt -commands=python -m pytest tests --timeout=30 --durations=10 --cov=denonavr --cov-report html {posargs} +commands=python -m pytest tests --timeout=60 --durations=10 --cov=denonavr --cov-report html {posargs}