name: Test on: push: branches: - master pull_request: branches: - master jobs: build: runs-on: '${{ matrix.os }}' strategy: matrix: os: - ubuntu-22.04 - ubuntu-latest python-version: - '3.8' - '3.9' - '3.10' - '3.11' - '3.12' steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v4 with: python-version: '${{ matrix.python-version }}' cache: pip cache-dependency-path: setup.py - run: sudo apt-get update - run: ./deps.sh --yes - run: pip install coverage pytest pytest-cov - run: pip install . - run: pytest -v --cov=binwalk testing