Skip to content

Commit f62ff90

Browse files
authored
chore: development tweaks (#255)
1 parent 08bef09 commit f62ff90

File tree

8 files changed

+22
-15
lines changed

8 files changed

+22
-15
lines changed

Diff for: .coveragerc

-2
This file was deleted.

Diff for: .github/workflows/ci.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ jobs:
99
python-version: ["pypy-3.7", "3.7", "3.8", "3.9", "3.10"]
1010
steps:
1111
- name: Check out repository
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
- name: Install Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v4
1515
with:
1616
python-version: ${{ matrix.python-version }}
17+
check-latest: true
1718
- name: Install dependencies
1819
run: python -m pip install tox
1920
- name: Run tests
@@ -23,11 +24,12 @@ jobs:
2324
runs-on: ubuntu-latest
2425
steps:
2526
- name: Check out repository
26-
uses: actions/checkout@v1
27+
uses: actions/checkout@v3
2728
- name: Install Python
28-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
2930
with:
3031
python-version: "3.x"
32+
check-latest: true
3133
- name: Install dependencies
3234
run: python -m pip install tox
3335
- name: Run linting
@@ -39,11 +41,12 @@ jobs:
3941
runs-on: ubuntu-latest
4042
steps:
4143
- name: Check out repository
42-
uses: actions/checkout@v1
44+
uses: actions/checkout@v3
4345
- name: Install Python
44-
uses: actions/setup-python@v2
46+
uses: actions/setup-python@v4
4547
with:
4648
python-version: "3.x"
49+
check-latest: true
4750
- name: Install dependencies
4851
run: python -m pip install tox
4952
- name: Test packaging

Diff for: .github/workflows/release.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v3
1111
with:
1212
ref: ${{ github.event.release.tag_name }}
1313
- name: Set up Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: "3.x"
17+
check-latest: true
1518
- name: Install build dependencies
1619
run: pip install -U setuptools wheel build
1720
- name: Build

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ htmlcov/
1212
*.eggs
1313
*.py[co]
1414
.pytest_cache/
15+
.python-version
1516

1617
.idea/
18+
.vscode/

Diff for: MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include LICENSE README.rst CHANGES.rst
2-
include tox.ini .coveragerc pytest.ini
2+
include tox.ini
33
include readme_renderer/py.typed
44

55
recursive-include tests *.html

Diff for: pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ build-backend = "setuptools.build_meta"
66
[tool.check-manifest]
77
ignore = [".gitpod.yml"]
88

9+
[tool.coverage.run]
10+
branch = true
11+
912
[tool.mypy]
1013
strict = true
1114
warn_unused_configs = true

Diff for: pytest.ini

-3
This file was deleted.

Diff for: tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ isolated_build = True
55
[testenv]
66
deps =
77
pytest
8+
pytest-cov
89
commands =
9-
pytest --strict-markers {posargs}
10+
pytest --strict-markers --cov {posargs}
1011
extras = md
1112

1213
[testenv:mypy]

0 commit comments

Comments
 (0)