-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1 KB
/
Copy pathpython.yml
File metadata and controls
40 lines (38 loc) · 1 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
34
35
36
37
38
39
40
name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
- name: Build dashboard UI
run: |
npm --prefix dashboard-ui ci
npm --prefix dashboard-ui run lint
npm --prefix dashboard-ui run build
- name: Run mypy
run: mypy
- name: Run pytest
run: SKIP_MP_TESTS=1 pytest -q
- name: Run quick benchmark smoke
env:
BENCH_CONFIG: configs/bench_sp500_small_ci.toml
SEEDS: "0:1"
run: bash scripts/benchmark_quick_smoke.sh