Skip to content

ci: going gh

ci: going gh #3

Workflow file for this run

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