From 02d17a2d740d8b3cbad00ae9e6c55c0eee4e39a9 Mon Sep 17 00:00:00 2001 From: akrherz Date: Thu, 17 Oct 2024 14:20:03 -0500 Subject: [PATCH] CI: pull tested python versions forward --- .github/workflows/ci.yml | 8 ++++---- README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28a4539e..93f2a3ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,11 +7,11 @@ jobs: strategy: matrix: python-version: - - '3.8' - '3.9' - '3.10' - '3.11' - - '3.12-dev' + - '3.12' + - '3.13' steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -25,7 +25,7 @@ jobs: run: | python -m pip install pytest pytest-runner pytest-cov pytest-runner python setup.py test --addopts " --cov=metar" - if [[ ${{ matrix.python-version }} == "3.8" ]]; then + if [[ ${{ matrix.python-version }} == "3.9" ]]; then pip install codecov codecov fi @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11"] + python-version: ["3.13"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/README.md b/README.md index 6bbce44a..d0406d36 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ METAR: METAR KEWR 111851Z VRB03G19KT 2SM R04R/3000VP6000FT TSRA BR FEW015 BKN040 Tests ------------------------------------------------------------------------ -The library is tested against Python 3.7-3.10. A [tox](https://tox.readthedocs.io/en/latest/) +The library is tested against Python 3.9-3.13. A [tox](https://tox.readthedocs.io/en/latest/) configuration file is included to easily run tests against each of these environments. To run tests against all environments, install tox and run: @@ -142,4 +142,4 @@ environments. To run tests against all environments, install tox and run: To run against a specific environment, use the `-e` flag: - >>> tox -e py35 + >>> tox -e py310