From 4fefd8919d89d529f3cc4d2f3de045307f7672e6 Mon Sep 17 00:00:00 2001 From: JB Lovland Date: Thu, 11 Jan 2024 11:59:48 +0100 Subject: [PATCH] ENH: Add py312 test and pyproject classifier --- .github/workflows/ci-fmudataio.yml | 12 ++++-------- pyproject.toml | 1 + 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-fmudataio.yml b/.github/workflows/ci-fmudataio.yml index edef20f3e..09c37c75d 100644 --- a/.github/workflows/ci-fmudataio.yml +++ b/.github/workflows/ci-fmudataio.yml @@ -1,8 +1,5 @@ -# build and test some end points name: Build and test fmu-dataio -# on: [push, pull_request] - on: pull_request: branches: [main] @@ -13,7 +10,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest] steps: @@ -25,10 +22,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install fmu-dataio - run: > - pip install pip -U && + run: | + pip install pip -U pip install .[dev] - name: Full test - run: > - pytest --disable-warnings -x + run: pytest --disable-warnings -x diff --git a/pyproject.toml b/pyproject.toml index e88129aa1..02299cc43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics", "Topic :: Software Development :: Libraries",