Skip to content

Fix #115: export hidden segments (e.g. .reloc) to avoid scan crash #303

Fix #115: export hidden segments (e.g. .reloc) to avoid scan crash

Fix #115: export hidden segments (e.g. .reloc) to avoid scan crash #303

Workflow file for this run

name: Quokka Python Package
on:
push:
branches:
- main
paths:
- "bindings/python/**"
- "proto/**"
- "tests/python/**"
- "pyproject.toml"
- "setup.py"
- "MANIFEST.in"
- ".github/workflows/python.yml"
pull_request:
branches: ["**"]
paths:
- "bindings/python/**"
- "proto/**"
- "tests/python/**"
- "pyproject.toml"
- "setup.py"
- "MANIFEST.in"
- ".github/workflows/python.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
python-test:
name: "Python ${{ matrix.python-version }} / ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
lfs: true
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install libmagic (macOS)
if: runner.os == 'macOS'
run: brew install libmagic
- run: pip install '.[test]'
- name: Tests
run: pytest tests/python