From 98901ffafb1d4c50ba3a90b7af0f5c16439238de Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Sat, 27 Apr 2024 11:01:16 -0600 Subject: [PATCH] ci: add py 3.11 & 3.12 --- .github/workflows/ci.yml | 24 ++++++++++++------------ setup.py | 2 ++ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3793c58..aa9d543 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,40 +4,40 @@ jobs: black: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@4 + - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: "3.9" - run: pip install riot==0.4.0 - run: riot -v run -s black -- --check . mypy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@4 + - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: "3.9" - run: pip install riot==0.4.0 - run: riot -v run mypy flake8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@4 + - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: "3.9" - run: pip install riot==0.4.0 - run: riot -v run flake8 test: strategy: matrix: os: [ubuntu-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@4 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: install riot diff --git a/setup.py b/setup.py index d52f104..7cf079c 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,8 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: BSD License", ], keywords="asyncio",