Skip to content

Commit d3d2556

Browse files
committed
change for a new dashboard version
1 parent 07e07cc commit d3d2556

77 files changed

Lines changed: 5006 additions & 3479 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,48 @@ on:
55
pull_request:
66

77
jobs:
8+
lint:
9+
name: lint
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.11"
20+
cache: "pip"
21+
22+
- name: Install dependencies
23+
run: python -m pip install --upgrade pip && python -m pip install -e .[dev]
24+
25+
- name: Run Ruff
26+
run: python -m ruff check .
27+
828
tests:
29+
name: tests
930
runs-on: ubuntu-latest
31+
1032
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-python@v5
33+
- name: Checkout repository
34+
uses: actions/checkout@v4
35+
36+
- name: Set up Python
37+
uses: actions/setup-python@v5
1338
with:
1439
python-version: "3.11"
15-
- run: python -m pip install --upgrade pip
16-
- run: python -m pip install -e .[dev]
17-
- run: pytest
40+
cache: "pip"
41+
42+
- name: Install dependencies
43+
run: python -m pip install --upgrade pip && python -m pip install -e .[dev]
44+
45+
- name: Run golden tests
46+
run: python -m pytest tests/golden -q
47+
48+
- name: Run smoke tests
49+
run: python -m pytest tests/smoke -q
50+
51+
- name: Run full test suite with coverage
52+
run: python -m pytest --cov=portfolio_auditor --cov-report=term-missing

0 commit comments

Comments
 (0)