diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bda382b..b3e2811 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,9 @@ -name: tests +name: build on: push: - branches: [ master ] - + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: test: @@ -12,9 +11,9 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ 3.6, 3.7, 3.8, 3.9 ] - mongodb-version: ['4.0', '4.2', '4.4'] - os: [ ubuntu-latest ] + python-version: ['3.10', '3.11', '3.12'] + mongodb-version: ['4.4'] + os: [ubuntu-latest] steps: - name: Checkout @@ -84,7 +83,9 @@ jobs: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 + with: + node-version: '20' - name: Setup run: npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi @@ -92,7 +93,7 @@ jobs: - name: Set up python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: '3.12' - name: Install setuptools run: python -m pip install --upgrade setuptools wheel twine diff --git a/setup.py b/setup.py index dccba64..c0d8ff8 100644 --- a/setup.py +++ b/setup.py @@ -39,9 +39,10 @@ python_requires=">=3.6", license="Apache 2.0", classifiers=[ - "Programming Language :: Python :: 3.6", - "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", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ],