Skip to content

Commit e2e48e4

Browse files
committed
feat: upgrade CI Node.js version to 20
1 parent a37de23 commit e2e48e4

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
name: tests
1+
name: build
22
on:
33
push:
4-
branches: [ master ]
5-
4+
branches: [master]
65
pull_request:
7-
branches: [ master ]
6+
branches: [master]
87

98
jobs:
109
test:
1110
runs-on: ${{ matrix.os }}
1211
strategy:
1312
fail-fast: false
1413
matrix:
15-
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
16-
mongodb-version: ['4.0', '4.2', '4.4']
17-
os: [ ubuntu-latest ]
14+
python-version: ['3.10', '3.11', '3.12']
15+
mongodb-version: ['4.4']
16+
os: [ubuntu-latest]
1817

1918
steps:
2019
- name: Checkout
@@ -84,15 +83,17 @@ jobs:
8483
fetch-depth: 0
8584

8685
- name: Setup Node.js
87-
uses: actions/setup-node@v1
86+
uses: actions/setup-node@v2
87+
with:
88+
node-version: '20'
8889

8990
- name: Setup
9091
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
9192

9293
- name: Set up python
9394
uses: actions/setup-python@v2
9495
with:
95-
python-version: 3.8
96+
python-version: '3.12'
9697

9798
- name: Install setuptools
9899
run: python -m pip install --upgrade setuptools wheel twine

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@
3939
python_requires=">=3.6",
4040
license="Apache 2.0",
4141
classifiers=[
42-
"Programming Language :: Python :: 3.6",
43-
"Programming Language :: Python :: 3.7",
44-
"Programming Language :: Python :: 3.8",
42+
"Programming Language :: Python :: 3.9",
43+
"Programming Language :: Python :: 3.10",
44+
"Programming Language :: Python :: 3.11",
45+
"Programming Language :: Python :: 3.12",
4546
"License :: OSI Approved :: Apache Software License",
4647
"Operating System :: OS Independent",
4748
],

0 commit comments

Comments
 (0)