diff --git a/.github/workflows/.pre-commit.yml b/.github/workflows/.pre-commit.yml index 7fe7e0c..355ecc7 100644 --- a/.github/workflows/.pre-commit.yml +++ b/.github/workflows/.pre-commit.yml @@ -9,11 +9,18 @@ jobs: strategy: matrix: - python-version: [ "3.10" ] + python-version: [ "3.10", "3.11", "3.12" ] steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - name: Checkout source repository + uses: actions/checkout@v4 + - name: Set up python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: pre-commit/action@v3.0.0 + - name: Install dependencies for testing + run: | + python3 -m pip install --upgrade pip + python3 -m pip install .[test] + - name: Run pre-commit + uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 20b71f5..dfb6970 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - python-version: [ "3.10" ] + python-version: [ "3.12" ] steps: - name: Checkout source repository diff --git a/.github/workflows/publish-test-pypi.yml b/.github/workflows/publish-test-pypi.yml index 6c6eba7..ead9b38 100644 --- a/.github/workflows/publish-test-pypi.yml +++ b/.github/workflows/publish-test-pypi.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - python-version: [ "3.10" ] + python-version: [ "3.12" ] steps: - name: Checkout source repository diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 01da737..50da494 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -11,18 +11,18 @@ permissions: jobs: build: - name: Run Pylint + runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.10", "3.11" ] + python-version: ["3.10", "3.11", "3.12"] steps: - name: Checkout source repository uses: actions/checkout@v4 - name: Set up python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies for testing @@ -32,4 +32,4 @@ jobs: - name: Run Pylint run: | # stop the build if there are Python syntax errors or undefined names - pylint --reports n async_gpib + pylint --reports n prologix_gpib_async diff --git a/pyproject.toml b/pyproject.toml index 2abe27d..fc2e6a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,11 +9,11 @@ license = { text="GNU General Public License v3 (GPLv3)" } requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "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", "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent",