File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Tests
33on :
44 push :
55 branches : [ master ]
6- tags : [ '*.*. *' ]
6+ tags : [ '[0-9]+.[0-9]+.[0-9]+ *' ]
77 pull_request :
88 branches : [ master ]
99
2424 runs-on : ${{ matrix.os }}
2525 strategy :
2626 matrix :
27- python-version : [3.7, 3.11]
28- os : [ubuntu-latest, windows-latest]
27+ python-version : ['3.9', '3.13', '3.14-dev']
28+ os : [ubuntu-latest, macos-latest, windows-latest]
29+ continue-on-error : ${{ matrix.python-version == '3.14-dev' }}
2930
3031 steps :
3132 - uses : actions/checkout@v4
4849
4950 # FYI: Requires token to continue usage
5051 # - name: Upload to Codecov
51- # if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8
52+ # if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
5253 # uses: codecov/codecov-action@v1
5354 # with:
5455 # name: pytests
6465 - name : Set up Python
6566 uses : actions/setup-python@v2
6667 with :
67- python-version : 3.8
68+ python-version : 3.9
6869
6970 - name : Installation (deps and package)
7071 run : |
8687 - name : Set up Python
8788 uses : actions/setup-python@v5
8889 with :
89- python-version : 3.8
90+ python-version : 3.9
9091 - name : install flit
9192 run : |
9293 pip install flit~=3.0
Original file line number Diff line number Diff line change 1+ # Marker file for PEP 561
Original file line number Diff line number Diff line change 22requires = [" flit_core >=2,<4" ]
33build-backend = " flit_core.buildapi"
44
5-
65[tool .flit .metadata ]
76module = " mdformat_myst"
87author = " Taneli Hukkinen"
@@ -19,9 +18,9 @@ classifiers = [
1918]
2019keywords = " mdformat,markdown,formatter,gfm"
2120
22- requires-python =" >=3.7 "
21+ requires-python =" >=3.9 "
2322requires =[
24- " mdformat >=0.7.0,<0.8.0 " ,
23+ " mdformat >=0.7.0" ,
2524 " mdit-py-plugins >=0.3.0" ,
2625 " mdformat-tables >=0.4.0" ,
2726 " mdformat-frontmatter >=0.3.2" ,
Original file line number Diff line number Diff line change 11[tox]
2- envlist = py38
2+ envlist = py39
33isolated_build = True
44
5- [testenv:py{37,38,39 }]
5+ [testenv:py{39,311,313 }]
66extras = test
77deps =
88 black
99 flake8
1010commands = pytest {posargs}
1111
12- [testenv:py{37,38,39 }-hook]
12+ [testenv:py{39,311,313 }-hook]
1313commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}
1414
1515[flake8]
You can’t perform that action at this time.
0 commit comments