Skip to content

Add headless Ghidra tests to CI #13

Add headless Ghidra tests to CI

Add headless Ghidra tests to CI #13

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 17
uses: actions/setup-java@v4
with:
distribution: "oracle"
java-version: "17"
- name: Install Ghidra
uses: er28-0652/setup-ghidra@master
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