-
Notifications
You must be signed in to change notification settings - Fork 106
34 lines (29 loc) · 973 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: mdv
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
# You can use PyPy versions in python-version.
# For example, pypy2.7 and pypy3.9
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install Deps
run: pip install pytest pygments markdown coveralls
- name: Install mdv
run: pip install -e .
- name: Test
run: coverage run --include="mdv/markdownviewer.py" setup.py test
- name: Report
run: coverage report
- name: Coverage
run: coveralls