We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f9e78 commit e3f2dfcCopy full SHA for e3f2dfc
.github/workflows/test.yml
@@ -0,0 +1,36 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ python-version: ["3.7", "3.12"]
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
32
+ pytest tests/ -v --tb=short
33
34
+ - name: Test CLI command
35
36
+ draw_tree --help
0 commit comments