Skip to content

Commit

Permalink
fix: update CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Nov 19, 2023
1 parent 9ad4ffd commit 4183a17
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
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', '3.10' ]
os: [ ubuntu-18.04, macOS-latest, windows-latest ]
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- name: Checkout
Expand Down Expand Up @@ -78,17 +77,17 @@ jobs:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'

- 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
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11

- name: Install setuptools
run: python -m pip install --upgrade setuptools wheel twine
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"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",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
Expand Down

0 comments on commit 4183a17

Please sign in to comment.