File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ python-version : ["3.9", "3.13"]
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v4
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install -e .[dev]
29+
30+ - name : Test with pytest
31+ run : |
32+ pytest tests/ -v --tb=short
33+
34+ - name : Test CLI command
35+ run : |
36+ draw_tree
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pip install -e .
1414
1515## Requirements
1616
17- - Python 3.7 + (tested on 3.13)
17+ - Python 3.9 + (tested on 3.13)
1818- LaTeX with TikZ (for PDF/PNG generation)
1919- (optional) ImageMagick or Ghostscript or Poppler (for PNG generation)
2020
You can’t perform that action at this time.
0 commit comments