Skip to content

Commit

Permalink
Add basic pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Jan 9, 2024
1 parent 9dbdd70 commit a04b02f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,29 @@ on:
jobs:
ci:
uses: angr/ci-settings/.github/workflows/angr-ci.yml@master

test:
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
os: [ubuntu-22.04, macos-12, windows-2022]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'

- name: Install pysoot
run: pip install .[testing]

- name: Run tests
run: pytest
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ dependencies = ["jpype1", "psutil", "frozendict"]

[tool.setuptools.package-data]
pysoot = ["soot-trunk.jar"]

[project.optional-dependencies]
testing = ["pytest"]

0 comments on commit a04b02f

Please sign in to comment.