File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1515 - name : Checkout repository
1616 uses : actions/checkout@v3
1717
18- # 2️⃣ Setup Python
19- - name : Set up Python 3.10
18+ # 2️⃣ Setup Python 3.10
19+ - name : Set up Python
2020 uses : actions/setup-python@v4
2121 with :
2222 python-version : " 3.10"
@@ -33,13 +33,17 @@ jobs:
3333 run : |
3434 poetry install --no-root
3535
36- # 5️⃣ Run linting (safe , path-independent)
36+ # 5️⃣ Run linting (all files , path-independent)
3737 - name : Run linting
3838 run : |
3939 poetry run flake8 . --max-line-length=100
4040
4141 # 6️⃣ Run tests
4242 - name : Run tests
4343 run : |
44- export PATH="$HOME/.local/bin:$PATH"
4544 poetry run pytest tests --maxfail=1 --disable-warnings -q
45+
46+ # 7️⃣ Optional: Memory profiling on key tests
47+ - name : Check memory usage
48+ run : |
49+ poetry run python -m memory_profiler tests/test_analysis.py
You can’t perform that action at this time.
0 commit comments