mirror of
https://github.com/QuantEngines/fx_quant_engine.git
synced 2026-07-29 19:37:46 +00:00
Initial commit: fx_quant_engine and options_quant_engine scaffold
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
name: options-quant-engine-ci
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "options_quant_engine/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- "options_quant_engine/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint-test-build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: options_quant_engine
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -e .[dev]
|
||||
|
||||
- name: Lint
|
||||
run: ruff check .
|
||||
|
||||
- name: Test
|
||||
run: pytest
|
||||
|
||||
- name: Generate sample run artifact
|
||||
run: python scripts/run_engine.py
|
||||
|
||||
- name: Upload run artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: options-engine-runs
|
||||
path: options_quant_engine/examples/runs/*.json
|
||||
if-no-files-found: warn
|
||||
Reference in New Issue
Block a user