Skip to content

Commit

Permalink
Update CI script and setup for 3.10 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian authored Oct 24, 2021
1 parent d69d9e6 commit fabe0b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
Expand All @@ -23,13 +23,6 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install minimal nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
default: true
override: true
toolchain: nightly-2020-09-14
- name: Install dependencies
if: matrix.os != 'windows-latest'
run: |
Expand Down Expand Up @@ -64,12 +57,12 @@ jobs:
python -m unittest
- name: Generate coverage report
run: |
coverage run --parallel-mode --pylib -m unittest
coverage run --source watchpoints --parallel-mode -m unittest
coverage combine
coverage xml -i --include=*watchpoints* --omit=*tests*
coverage xml -i
env:
COVERAGE_RUN: True
- name: Upload report to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
file: ./coverage.xml
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Install flake8
run: pip install flake8
- name: Run flake8
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,18 @@
packages=setuptools.find_packages("src"),
package_dir={"":"src"},
classifiers=[
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"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",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent"
],
python_requires=">=3.6",
install_requires = [
"objprint>=0.0.3"
"objprint>=0.1.3"
]
)

0 comments on commit fabe0b4

Please sign in to comment.