Skip to content

Bumpversion v0.0.1 -> v0.0.2 #8

Bumpversion v0.0.1 -> v0.0.2

Bumpversion v0.0.1 -> v0.0.2 #8

Workflow file for this run

name: CI for Python package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
if: ${{ ! contains(github.event.head_commit.message, 'Bumpversion') }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- 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
pip install -e .[dev]
- name: Lint with flake8
run: |
flake8 ./sep005_io_fast ./tests --count --max-line-length=127 --show-source --statistics
- name: Test with pytest
run: |
pytest ./tests
pytest --cov=./tests