Skip to content

Test against cpython tests #22

Test against cpython tests

Test against cpython tests #22

Workflow file for this run

name: zipfile2
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '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
- name: Integration tests
run: python -m haas cpython-tests/${{ matrix.python-version }}
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/