File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 66
66
- name : Install dependencies
67
67
run : |
68
68
pip install --upgrade pip
69
- python -m pip install -e .
69
+ sh build.sh
70
70
pip install tox tox-gh-actions
71
71
- name : Run tests using tox
72
72
run : tox -e ${{ matrix.env }}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # last version of `build` supporting Python 3.6
4
+ pip install build==0.9.0
5
+
6
+ # build the wheel and install it
7
+ WHEEL_NAME=$( python -m build | grep -Po " django_mermaid-.*\.whl" | tail -n 1)
8
+ pip install dist/$WHEEL_NAME
Original file line number Diff line number Diff line change 17
17
django21: django<2.2
18
18
django11: django<2.0
19
19
-r{toxinidir}/tests/requirements.txt
20
+ allowlist_externals = sh
20
21
commands =
21
- pip install -e .
22
+ sh build.sh
22
23
pytest
You can’t perform that action at this time.
0 commit comments