Skip to content

Initial PHANTOM open-source release #1

Initial PHANTOM open-source release

Initial PHANTOM open-source release #1

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Compile
run: python -m py_compile phantom.py phantom_cli.py core/*.py memory/__init__.py tools/*.py integrations/*.py evals/*.py tests/*.py
- name: Unit tests
run: python -m unittest discover -s tests -v
- name: Offline evals
run: |
export PHANTOM_HOME="$PWD/.phantom-ci"
export PHANTOM_WORKSPACE="$PWD"
python phantom.py --evals