Skip to content

Add Find Max Consecutive Ones #18

Add Find Max Consecutive Ones

Add Find Max Consecutive Ones #18

Workflow file for this run

name: Python
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.14
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint
run: |
flake8 --max-complexity=10 --max-line-length=120 --statistics
- name: Unit tests
run: |
pytest