Skip to content

Commit

Permalink
feat: upgrade CI Node.js version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Mar 29, 2024
1 parent a37de23 commit e2e48e4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: tests
name: build
on:
push:
branches: [ master ]

branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
test:
runs-on: ${{ matrix.os }}
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
Expand Down Expand Up @@ -84,15 +83,17 @@ 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

- 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
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down

0 comments on commit e2e48e4

Please sign in to comment.