From d52cb3666fd8c4f275b0bd7992b1843d67be4cd0 Mon Sep 17 00:00:00 2001 From: Jongwook Choi Date: Sun, 5 Nov 2023 22:25:22 -0500 Subject: [PATCH] Add python 3.12 to Github Actions CI --- .github/workflows/ci.yml | 15 ++++++++------- setup.py | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9dee34..61ae129 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,12 +2,12 @@ name: "Run Tests" on: push: branches: - - 'main' - - 'master' - - 'dev' - - 'ci/*' + - "main" + - "master" + - "dev" + - "ci/*" tags: - - '*' + - "*" pull_request: workflow_dispatch: @@ -19,11 +19,11 @@ jobs: strategy: matrix: python-version: - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" steps: - name: "Configure SSH on localhost" @@ -45,7 +45,8 @@ jobs: - name: Checkout expt uses: actions/checkout@v2 with: - fetch-depth: 0 # fetch all tags, and unshallow (setuptools-scm requires them) + # fetch all tags, and unshallow (setuptools-scm requires them) + fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 diff --git a/setup.py b/setup.py index 5c05f74..c7148f8 100644 --- a/setup.py +++ b/setup.py @@ -173,6 +173,7 @@ def next_semver(version: setuptools_scm.version.ScmVersion): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Utilities', 'Topic :: Scientific/Engineering', ],