From 87edc6cd70f6d4e0dff8ca34e1763fc1b5c42779 Mon Sep 17 00:00:00 2001 From: Andreas Dutzler Date: Sat, 11 May 2024 00:58:25 +0200 Subject: [PATCH] Update the codecov-Workflow --- .github/workflows/{coverage.yml => upload-codecov.yml} | 8 +++++--- pyproject.toml | 3 ++- src/matadi/__about__.py | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) rename .github/workflows/{coverage.yml => upload-codecov.yml} (70%) diff --git a/.github/workflows/coverage.yml b/.github/workflows/upload-codecov.yml similarity index 70% rename from .github/workflows/coverage.yml rename to .github/workflows/upload-codecov.yml index 1bd4486..6d37343 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/upload-codecov.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/setup-python@v4 with: @@ -25,5 +25,7 @@ jobs: pip install tox tox -- --cov matadi --cov-report xml --cov-report term - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - if: ${{ matrix.python-version == '3.11' }} \ No newline at end of file + uses: codecov/codecov-action@v4 + if: ${{ matrix.python-version == '3.12' }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 850ce22..af92086 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,12 +37,13 @@ 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 :: Mathematics", "Topic :: Utilities" ] dynamic = ["version"] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = ["casadi", "numpy"] [project.optional-dependencies] diff --git a/src/matadi/__about__.py b/src/matadi/__about__.py index d3ec452..3ced358 100644 --- a/src/matadi/__about__.py +++ b/src/matadi/__about__.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "0.2.1"