File tree 3 files changed +40
-3
lines changed
3 files changed +40
-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
+ needs : [build_dist]
51
+ name : Test Distribution Files
52
+ runs-on : ubuntu-latest
53
+ steps :
54
+ - uses : actions/checkout@v4
55
+ with :
56
+ fetch-depth : 0
57
+ persist-credentials : false
58
+
59
+ - uses : actions/setup-python@v5
60
+ with :
61
+ # Build sdist on lowest supported Python
62
+ python-version : ' 3.9'
63
+
64
+ - name : Download the dists
65
+ uses : actions/download-artifact@v4
66
+ with :
67
+ name : dist-${{ github.run_id }}
68
+ path : dist/
69
+
70
+ - name : Test the sdist
71
+ run : |
72
+ cd dist
73
+ pip install *.tar.gz
74
+ python -c "import flask_pymongo"
75
+ pip uninstall -y flask_pymongo
76
+
77
+ - name : Test the wheel
78
+ run : |
79
+ cd dist
80
+ pip install *.whl
81
+ python -c "import flask_pymongo"
82
+ pip uninstall -y flask_pymongo
83
+
49
84
publish :
50
85
# 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 ]
86
+ needs : [test_dist ]
52
87
if : startsWith(github.ref, 'refs/tags/')
53
88
runs-on : ubuntu-latest
54
89
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