Skip to content

removed python3.x due to pyupgrade hook failing #30

removed python3.x due to pyupgrade hook failing

removed python3.x due to pyupgrade hook failing #30

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- 'README.md'
branches:
- '**'
jobs:
test:
name: Set up python matrix for testing
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python Matrix
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and pre-commit
run: |
python -m pip install --upgrade pip
pip install .[dev]
pip install pre-commit
pre-commit install # Install pre-commit hooks
- name: Run pre-commit hooks
run: pre-commit run --all-files
- name: Pytest and code coverage
run: |
pytest --cov=./py_markdown_table/ ./tests/tests.py --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOVTOKEN }}