Skip to content

Drop python < 3.8 and support 3.12 #12

Drop python < 3.8 and support 3.12

Drop python < 3.8 and support 3.12 #12

Workflow file for this run

name: zipfile2
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
strategy:
matrix:
python-version: [3.8, 3.11, 3.12]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install zipfile2
run: python -m pip install .
- name: Install test dependencies
run: python -m pip install -r "dev_requirements.txt"
- name: Test with haas
run: python -m haas zipfile2
code-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install flake8
run: python -m pip install flake8
- name: Lint codebase
run: python -m flake8 zipfile2/