diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index fb252e4..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,39 +0,0 @@ -version: 2 - -workflows: - version: 2 - workflow: - jobs: - - test-3.7 - - test-3.8 - - test-3.9 - - test-3.10 - -defaults: &defaults - working_directory: ~/code - steps: - - checkout - - run: - name: Install dependencies - command: pip install -r requirements.txt - - run: - name: Test - command: pytest - -jobs: - test-3.7: - <<: *defaults - docker: - - image: cimg/python:3.7 - test-3.8: - <<: *defaults - docker: - - image: cimg/python:3.8 - test-3.9: - <<: *defaults - docker: - - image: cimg/python:3.9 - test-3.10: - <<: *defaults - docker: - - image: cimg/python:3.10 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ad0a6b2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: Test + +on: + push: + +jobs: + test: + runs-on: ubuntu-latest + permissions: + contents: read + strategy: + matrix: + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Test + run: pytest diff --git a/README.md b/README.md index 24324b1..a913c05 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Close API -[![PyPI version](https://badge.fury.io/py/closeio.svg)](https://badge.fury.io/py/closeio) [![CircleCI](https://circleci.com/gh/closeio/closeio-api.svg?style=shield&circle-token=e12bb3b9bcf749c2e7a5691e8101c3e585b19742)](https://circleci.com/gh/closeio/closeio-api) +[![PyPI version](https://badge.fury.io/py/closeio.svg)](https://badge.fury.io/py/closeio) [![Test](https://github.com/closeio/closeio-api/actions/workflows/test.yml/badge.svg)](https://github.com/closeio/closeio-api/actions/workflows/test.yml) A convenient Python wrapper for the [Close](https://close.com/) API. diff --git a/setup.py b/setup.py index 038a0f6..63e6d46 100644 --- a/setup.py +++ b/setup.py @@ -14,16 +14,18 @@ long_description="Close API Python Client", author="Close Team", url="https://github.com/closeio/closeio-api/", + python_requires='>=3.10', install_requires=[ 'requests >= 2.11.1' ], classifiers=[ "Programming Language :: Python", "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", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] )