Skip to content

Update DavidAnson/markdownlint-cli2-action action to v13 - autoclosed #186

Update DavidAnson/markdownlint-cli2-action action to v13 - autoclosed

Update DavidAnson/markdownlint-cli2-action action to v13 - autoclosed #186

Workflow file for this run

# This workflow will install Python dependencies and run tests with a variety of Python versions
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest mockito
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest