File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 46
46
name : dist-${{ github.run_id }}
47
47
path : ./dist/*.*
48
48
49
+ test_dist :
50
+ name : Test Distribution Files
51
+ runs-on : ubuntu-latest
52
+ steps :
53
+ - uses : actions/checkout@v4
54
+ with :
55
+ fetch-depth : 0
56
+ persist-credentials : false
57
+
58
+ - uses : actions/setup-python@v5
59
+ with :
60
+ # Build sdist on lowest supported Python
61
+ python-version : ' 3.9'
62
+
63
+ - name : Download the dists
64
+ uses : actions/download-artifact@v4
65
+ with :
66
+ name : dist-${{ github.run_id }}
67
+ path : dist/
68
+
69
+ - name : Test the sdist
70
+ run : |
71
+ cd dist
72
+ pip install *.tar.gz
73
+ python -c "import flask_pymongo"
74
+ pip uninstall -y flask_pymongo
75
+
76
+ - name : Test the wheel
77
+ run : |
78
+ cd dist
79
+ pip install *.whl
80
+ python -c "import flask_pymongo"
81
+ pip uninstall -y flask_pymongo
82
+
49
83
publish :
50
84
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi
51
- needs : [build_dist ]
85
+ needs : [test_dist ]
52
86
if : startsWith(github.ref, 'refs/tags/')
53
87
runs-on : ubuntu-latest
54
88
environment : release
Original file line number Diff line number Diff line change 6
6
dist /
7
7
* .pyc
8
8
.pytest_cache /
9
- _version.py
10
- version.txt
11
9
.eggs /
12
10
.tox /
13
11
build /
Original file line number Diff line number Diff line change 4
4
5
5
- TDB
6
6
7
+ ## 3.0.1 Jan 29, 2005
8
+
9
+ - Fix inclusion of ` _version.py ` file.
10
+
7
11
## 3.0.0: Jan 29, 2025
8
12
9
13
- Support Flask 3.0+ and PyMongo 4.0+.
You can’t perform that action at this time.
0 commit comments