Skip to content

Commit 5262887

Browse files
committed
mxmake setup
1 parent d1471c5 commit 5262887

File tree

22 files changed

+720
-235
lines changed

22 files changed

+720
-235
lines changed

.github/workflows/test_py.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
name: Test wysihtml5
1+
name: Python tests
22

3-
on:
4-
push:
3+
on: [push]
54

65
jobs:
76
test:
@@ -17,34 +16,35 @@ jobs:
1716
- macos-latest
1817

1918
python:
20-
- "2.7"
21-
- "3.7"
2219
- "3.8"
2320
- "3.9"
2421
- "3.10"
22+
- "3.11"
23+
- "3.12"
24+
- "3.13"
2525

2626
steps:
27-
- uses: actions/checkout@v2
28-
29-
- name: Set up Python
30-
uses: actions/setup-python@v2
31-
with:
32-
python-version: ${{ matrix.python }}
33-
34-
- name: Install
35-
run: |
36-
pip install wheel
37-
pip install coverage
38-
pip install lxml
39-
pip install zope.testrunner
40-
pip install https://github.com/conestack/webresource/archive/master.zip
41-
pip install https://github.com/conestack/yafowil/archive/master.zip
42-
pip install -e .[test]
43-
- name: Run tests
44-
run: |
45-
python --version
46-
python -m yafowil.widget.wysihtml5.tests
47-
- name: Run coverage
48-
run: |
49-
coverage run --source=src/yafowil/widget/wysihtml5 --omit=src/yafowil/widget/wysihtml5/example.py -m yafowil.widget.wysihtml5.tests
50-
coverage report --fail-under=99
27+
- uses: actions/checkout@v2
28+
29+
- name: Set up Python
30+
uses: actions/setup-python@v2
31+
with:
32+
python-version: ${{ matrix.python }}
33+
34+
- name: Install
35+
run: |
36+
pip install wheel
37+
pip install coverage
38+
pip install https://github.com/conestack/webresource/archive/master.zip
39+
pip install https://github.com/conestack/yafowil/archive/master.zip
40+
pip install -e .[test]
41+
42+
- name: Run tests
43+
run: |
44+
python --version
45+
python -m pytest src/yafowil/widget/wysihtml5/tests
46+
47+
- name: Run coverage
48+
run: |
49+
coverage run --source=src/yafowil/widget/wysihtml5 --omit=src/yafowil/widget/wysihtml5/example.py -m pytest src/yafowil/widget/wysihtml5/tests
50+
coverage report --fail-under=99

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
*.pyc
33
*.pyo
44
/.coverage
5+
/.mxmake/
6+
/coverage/
57
/dist/
68
/htmlcov/
79
/js/karma/
810
/node_modules/
911
/package-lock.json
12+
/pnpm-lock.yaml
1013
/py2/
1114
/py3/
1215
/pypy3/
16+
/requirements-mxdev.txt
17+
/venv/

LICENSE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ License
22
=======
33

44
Copyright (c) 2012-2021, BlueDynamics Alliance, Austria, Germany, Switzerland
5-
Copyright (c) 2021-2022, Yafowil Contributors
5+
Copyright (c) 2021-2024, Yafowil Contributors
66
All rights reserved.
77

88
Redistribution and use in source and binary forms, with or without

0 commit comments

Comments
 (0)