name: tests on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-24.04 strategy: matrix: python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | pip install pipenv pipenv install --python ${{ matrix.python-version }} --dev - name: Lint with flake8 run: | pip install flake8 flake8 . --count --show-source --statistics flake8 . --count --exit-zero --statistics - name: Test with pytest run: | pipenv run pytest --cov=flask_htmlmin --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v5