depend on markupsafe #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.x"] | |
name: "pytest: Python ${{ matrix.python-version }}" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install setuptools | |
run: pip install setuptools | |
- name: Install dependencies | |
run: >- | |
pip install | |
-r requirements.txt | |
-r dev-requirements.txt | |
- name: Run tests | |
run: coverage run --source=flask_misaka setup.py test | |
- name: Upload coverage to Codecov | |
if: ${{ always() }} | |
uses: codecov/codecov-action@v1 | |
with: | |
fail_ci_if_error: false |