Skip to content

Add headless Ghidra tests to CI #11

Add headless Ghidra tests to CI

Add headless Ghidra tests to CI #11

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Core Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: "11.0.x"
java-package: jdk
architecture: x64
- name: Install Ghidra
uses: er28-0652/[email protected]
with:
version: "10.4"
- name: Download fauxware binary
run: |
sudo apt-get install git
git clone https://github.com/binsync/example.bsproj.git
cd example.bsproj
git checkout data
- name: Pytest
run: |
pytest ./tests/tests.py