Skip to content

add verbose

add verbose #27

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Pytest Python Package In Docker Image
on:
push:
branches: [ "main", "fix-workflows" ]
paths:
- 'ghidriff/**'
- 'tests/**'
- '.github/workflows/pytest-docker.yml'
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# cover the latest and all versions of all subreleases
image: ["10.4ghidra3.11python-bookworm", "10.4ghidra3.9python-bookworm", "10.3.3ghidra3.10python-bookworm", "10.2.3ghidra3.11python-bookworm", "10.1.5ghidra3.11python-bookworm" ]
container:
image: ghcr.io/clearbluejar/ghidra-python:${{ matrix.image }}
env:
GHIDRA_INSTALL_DIR: /ghidra
steps:
- uses: actions/checkout@v3
with:
path: /tmp/ghidriff
- run: |
# python -m venv .env
# source .env/bin/activate
# ls -a
env
# ls /usr/local/include/
pip install --upgrade pip
cd /tmp/ghidriff
# install ghidriff package and testing reqs
pip install ".[testing]"
#pyhidra &
#sleep 10
#killall python
# source .env/bin/activate
# #init pyhidra
# python -m pyhidra.install_plugins
# pushd /tmp
# popd
# download data to shared test data
if [ ! -d "tests/data" ]; then git clone https://github.com/clearbluejar/ghidriff-test-data.git tests/data; fi
pytest -rAv
shell: bash