-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 2.55 KB
/
Copy pathci.yml
File metadata and controls
33 lines (31 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev,serve,semantic]"
- name: Run tests
run: python -m pytest tests/ -v --tb=short
- name: Lint with ruff
run: ruff check src/ tests/
- name: Type-check operator trend seams
run: python -m mypy src/operator_resolution_trend.py src/operator_trend_support.py src/operator_trend_pending_text.py src/operator_trend_pending_debt.py src/operator_trend_transition_closure.py src/operator_trend_closure_forecast_events.py src/operator_trend_closure_forecast_history.py src/operator_trend_closure_forecast_reweighting.py src/operator_trend_closure_forecast_freshness.py src/operator_trend_closure_forecast_reacquisition.py src/operator_trend_closure_forecast_reacquisition_freshness.py src/operator_trend_closure_forecast_reset_refresh.py src/operator_trend_closure_forecast_reset_reentry_freshness.py src/operator_trend_closure_forecast_reset_reentry_rebuild.py src/operator_trend_closure_forecast_reset_reentry_rebuild_persistence.py src/operator_trend_closure_forecast_reset_reentry_rebuild_freshness.py src/operator_trend_closure_forecast_reset_reentry_rebuild_reentry_restore.py src/operator_trend_closure_forecast_reset_reentry_rebuild_reentry_restore_rererestore_freshness.py src/operator_trend_closure_forecast_reset_reentry_rebuild_reentry_restore_rererestore_persistence.py src/operator_trend_closure_forecast_reset_reentry_rebuild_reentry_restore_rerererestore_persistence.py src/operator_trend_closure_forecast_reset_reentry_rebuild_reentry_restore_rerererestore_recovery.py src/operator_trend_decision_memory.py src/operator_trend_recommendation_drift.py src/operator_trend_confidence_calibration.py src/operator_trend_trust_policy_history.py src/operator_trend_exception_recovery.py src/operator_trend_class_transitions.py src/operator_trend_run_context.py src/operator_trend_summary_context.py src/operator_trend_apply_chain.py src/operator_trend_topline_payload.py