Skip to content

Commit fabe0b4

Browse files
Update CI script and setup for 3.10 (#29)
1 parent d69d9e6 commit fabe0b4

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

.github/workflows/build_test.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
build:
1414
strategy:
1515
matrix:
16-
python-version: [3.6, 3.7, 3.8, 3.9]
16+
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919
timeout-minutes: 30
@@ -23,13 +23,6 @@ jobs:
2323
uses: actions/setup-python@v2
2424
with:
2525
python-version: ${{ matrix.python-version }}
26-
- name: Install minimal nightly
27-
uses: actions-rs/toolchain@v1
28-
with:
29-
profile: minimal
30-
default: true
31-
override: true
32-
toolchain: nightly-2020-09-14
3326
- name: Install dependencies
3427
if: matrix.os != 'windows-latest'
3528
run: |
@@ -64,12 +57,12 @@ jobs:
6457
python -m unittest
6558
- name: Generate coverage report
6659
run: |
67-
coverage run --parallel-mode --pylib -m unittest
60+
coverage run --source watchpoints --parallel-mode -m unittest
6861
coverage combine
69-
coverage xml -i --include=*watchpoints* --omit=*tests*
62+
coverage xml -i
7063
env:
7164
COVERAGE_RUN: True
7265
- name: Upload report to Codecov
73-
uses: codecov/codecov-action@v1
66+
uses: codecov/codecov-action@v2
7467
with:
7568
file: ./coverage.xml

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: 3.8
17+
python-version: 3.9
1818
- name: Install flake8
1919
run: pip install flake8
2020
- name: Run flake8

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@
2626
packages=setuptools.find_packages("src"),
2727
package_dir={"":"src"},
2828
classifiers=[
29-
"Development Status :: 3 - Alpha",
29+
"Development Status :: 4 - Beta",
3030
"Programming Language :: Python :: 3.6",
3131
"Programming Language :: Python :: 3.7",
3232
"Programming Language :: Python :: 3.8",
3333
"Programming Language :: Python :: 3.9",
34+
"Programming Language :: Python :: 3.10",
3435
"Intended Audience :: Developers",
3536
"License :: OSI Approved :: Apache Software License",
3637
"Operating System :: OS Independent"
3738
],
3839
python_requires=">=3.6",
3940
install_requires = [
40-
"objprint>=0.0.3"
41+
"objprint>=0.1.3"
4142
]
4243
)

0 commit comments

Comments
 (0)