Skip to content

ci: going gh

ci: going gh #4

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 }}
- 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: Coveralls
uses: coverallsapp/github-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}