-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.release.info
36 lines (27 loc) · 855 Bytes
/
.release.info
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This file contains details about how to
# perform a release of pygaps (mostly for me).
# Create new branch for release (we use git flow)
# Versioning is provided automatically
# by setuptools_scm
# Respect semantic versioning for the releases
git flow release start x.y.z
# Ensure all tests are passing
# or use CI provider to run them automatically
pytest --cov --cov-report xml:coverage.xml
# Finish branch
git flow release finish x.y.z
# Push tags
git push --tags
# Check CI if project has been successfully pushed to pypi
# Useful for VSCode debugging
Configuration for debugging
:
{
"name": "Python: Debug Tests",
"type": "python",
"request": "launch",
"program": "${file}",
"purpose": ["debug-test"],
"console": "integratedTerminal",
"env": {"PYTEST_ADDOPTS": "--no-cov"}
}