34 lines
592 B
YAML
34 lines
592 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- "codex/**"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: windows-latest
|
|
timeout-minutes: 30
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Install TradingAgents
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -e .
|
|
|
|
- name: Run unit tests
|
|
run: python -m unittest discover -s tests
|