File tree Expand file tree Collapse file tree 1 file changed +41
-41
lines changed Expand file tree Collapse file tree 1 file changed +41
-41
lines changed Original file line number Diff line number Diff line change 1
1
name : CI for torchviz
2
-
3
- on :
4
- push :
5
- branches :
6
- - ci
7
- pull_request :
8
- branches :
9
- - ci
10
-
11
- jobs :
12
- test :
13
- name : Test on Python ${{ matrix.python-version }}
14
- runs-on : ubuntu-latest
15
-
16
- strategy :
17
- matrix :
18
- python-version : [3.8, 3.9, 3.10, 3.11]
19
-
20
- steps :
21
- - name : Checkout code
22
- uses : actions/checkout@v3
23
-
24
- - name : Set up Python
25
- uses : actions/setup-python@v4
26
- with :
27
- python-version : ${{ matrix.python-version }}
28
-
29
- - name : Install system dependencies
30
- run : |
31
- sudo apt-get update
32
- sudo apt-get install -y graphviz
33
-
34
- - name : Install Python dependencies
35
- run : |
36
- python -m pip install --upgrade pip
37
- pip install .
38
- pip install pytest
39
-
40
- - name : Run tests
41
- run : |
42
- pytest test/
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ci
7
+ pull_request :
8
+ branches :
9
+ - ci
10
+
11
+ jobs :
12
+ test :
13
+ name : Test on Python ${{ matrix.python-version }}
14
+ runs-on : ubuntu-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ python-version : [3.8, 3.9, 3.10, 3.11]
19
+
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v3
23
+
24
+ - name : Set up Python
25
+ uses : actions/setup-python@v4
26
+ with :
27
+ python-version : ${{ matrix.python-version }}
28
+
29
+ - name : Install system dependencies
30
+ run : |
31
+ sudo apt-get update
32
+ sudo apt-get install -y graphviz
33
+
34
+ - name : Install Python dependencies
35
+ run : |
36
+ python -m pip install --upgrade pip
37
+ pip install .
38
+ pip install pytest
39
+
40
+ - name : Run tests
41
+ run : |
42
+ pytest test/
You can’t perform that action at this time.
0 commit comments