File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 3
3
on :
4
4
push :
5
5
pull_request :
6
+ schedule :
7
+ # Weekly
8
+ - cron : " * * * * 0"
6
9
7
10
jobs :
8
11
test :
11
14
strategy :
12
15
fail-fast : false
13
16
matrix :
14
- python-version : [ 3.6 , 3.7 , 3.8, 3.9 ]
17
+ python-version : [ 3.7 , 3.8 , 3.9, "3.10" ]
15
18
toxenv : [""]
16
19
experimental : [ false ]
17
20
include :
25
28
experimental : false
26
29
python-version : 3.7
27
30
- experimental : true
28
- python-version : " 3.10 .0-beta.2 - 3.10 "
31
+ python-version : " 3.11 .0-alpha - 3.11 "
29
32
- experimental : true
30
33
python-version : " pypy-3.7"
31
34
76
79
--sdist
77
80
--wheel
78
81
--outdir dist/
82
+
79
83
- name : Publish distribution to Test PyPI
80
84
if : github.ref == 'refs/heads/master'
81
85
uses : pypa/gh-action-pypi-publish@master
90
94
with :
91
95
skip_existing : true
92
96
password : ${{ secrets.PYPI_API_TOKEN }}
97
+
98
+ - name : Release
99
+ uses : softprops/action-gh-release@v1
100
+ if : ${{ !github.event.schedule && startsWith(github.ref, 'refs/tags') }}
101
+ with :
102
+ draft : true
103
+ generate_release_notes : true
104
+ files : |
105
+ dist/*.whl
Original file line number Diff line number Diff line change @@ -69,10 +69,10 @@ def read(fname):
69
69
"License :: OSI Approved :: MIT License" ,
70
70
"Programming Language :: Python" ,
71
71
"Programming Language :: Python :: 3" ,
72
- "Programming Language :: Python :: 3.6" ,
73
72
"Programming Language :: Python :: 3.7" ,
74
73
"Programming Language :: Python :: 3.8" ,
75
74
"Programming Language :: Python :: 3.9" ,
76
75
"Programming Language :: Python :: 3.10" ,
76
+ "Programming Language :: Python :: 3.11" ,
77
77
],
78
78
)
Original file line number Diff line number Diff line change 2
2
minversion = 2.3
3
3
skip_missing_interpreters = true
4
4
envlist =
5
- py3{6,7,8,9,10}
5
+ py3{6,7,8,9,10,11 }
6
6
7
7
[testenv]
8
8
changedir = {toxinidir}
You can’t perform that action at this time.
0 commit comments