Skip to content

Commit

Permalink
Add Python 3.12 to CI (#219)
Browse files Browse the repository at this point in the history
* Add 3.12 to CI

* Update .github/workflows/actions.yml

* Add 3.13 as well

* 3.13 does not exist yet
  • Loading branch information
ludeeus authored Dec 10, 2023
1 parent c8c0a28 commit 8f0d736
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,28 @@ jobs:
run: make isort-check

test:
name: Test with Python ${{ matrix.python-version }}
name: Test with Python ${{ matrix.python.version }}
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python:
- version: "3.8"
- version: "3.9"
- version: "3.10"
- version: "3.11"
- version: "3.12"
steps:
- name: 📥 Checkout the repository
uses: actions/[email protected]
with:
fetch-depth: 0

- name: 🛠️ Set up Python ${{ matrix.python-version }}
- name: 🛠️ Set up Python ${{ matrix.python.version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python.version }}
allow-prereleases: ${{ matrix.python.prereleases || false }}

- name: 📦 Install dependencies
run: make requirements
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# aiogithubapi

[![codecov](https://codecov.io/gh/ludeeus/aiogithubapi/branch/main/graph/badge.svg)](https://codecov.io/gh/ludeeus/aiogithubapi)
![python version](https://img.shields.io/badge/Python-3.8=><=3.11-blue.svg)
![python version](https://img.shields.io/badge/Python-3.8=><=3.12-blue.svg)
[![PyPI](https://img.shields.io/pypi/v/aiogithubapi)](https://pypi.org/project/aiogithubapi)
![Actions](https://github.com/ludeeus/aiogithubapi/workflows/Actions/badge.svg?branch=main)

Expand Down

0 comments on commit 8f0d736

Please sign in to comment.