Skip to content
Open

Ci/uv #118

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
name: CI
name: Test

on:
push:
branches:
- "master"
- master
pull_request:
workflow_dispatch:

jobs:
ci:
uses: angr/ci-settings/.github/workflows/angr-ci.yml@master
test:
strategy:
matrix:
python-version: ["3.10", "3.13"]
fail-fast: false
name: Test Python ${{ matrix.python-version }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- run: uv sync --dev
- run: uv run pytest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.egg-info
dist
build
uv.lock
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "rex"
version = "0.02"
dependencies = [
"angr",
"archr",
"angrop",
"jinja2",
"tracer",
"povsim",
"compilerex",
"pwntools",
]

[tool.setuptools.package-data]
"rex.scripter.templates" = ["*.j2"]

[dependency-groups]
dev = [
"flaky",
"pytest",
"pytest-xdist",
]

[tool.uv.sources]
angr = { git = "https://github.com/angr/angr.git" }
archr = { git = "https://github.com/angr/archr.git" }
angrop = { git = "https://github.com/angr/angrop.git" }
tracer = { git = "https://github.com/angr/tracer.git" }
povsim = { git = "https://github.com/mechaphish/povsim.git" }
compilerex = { git = "https://github.com/mechaphish/compilerex.git" }
30 changes: 0 additions & 30 deletions setup.py

This file was deleted.

Loading