File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Continous integration
22on : [push]
33jobs :
4- Run-tests :
5- # runs-on: ubuntu-latest
6- # runs-on: ubuntu-22.04
7- runs-on : ubuntu-20.04
4+ Run-308 :
5+ runs-on : ubuntu-latest
86 steps :
97 - uses : actions/checkout@v3
108 - name : Set up Python
119 uses : actions/setup-python@v4
1210 with :
13- # python-version: '3.9'
14- # python-version: '3.12'
1511 python-version : ' 3.8'
1612 env :
1713 AGENT_TOOLSDIRECTORY : /opt/hostedtoolcache
18- - name : Install
19- run : |
20- pip install --upgrade pip
21- pip install -r requirements.txt
22- - name : Run tests
14+ - name : Run notebook
2315 run : |
24- cd src; nose2 --with-coverage pySubnetSB_tests
25- coverage-badge -o coverage.svg
26- cd ..
27- - name : Install package
16+ python scripts/make_example_script.py
17+ ipython examples/api_basics.py
18+ Run-310 :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v3
22+ - name : Set up Python
23+ uses : actions/setup-python@v4
24+ with :
25+ python-version : ' 3.10'
26+ env :
27+ AGENT_TOOLSDIRECTORY : /opt/hostedtoolcache
28+ - name : Run notebook
2829 run : |
29- pip install pySubnetSB
30+ python scripts/make_example_script.py
31+ ipython examples/api_basics.py
32+ Run-312 :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v3
36+ - name : Set up Python
37+ uses : actions/setup-python@v4
38+ with :
39+ python-version : ' 3.12'
40+ env :
41+ AGENT_TOOLSDIRECTORY : /opt/hostedtoolcache
3042 - name : Run notebook
3143 run : |
3244 python scripts/make_example_script.py
Original file line number Diff line number Diff line change 1+ name : Continous integration
2+ on : [push]
3+ jobs :
4+ Run-308 :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - name : Set up Python
9+ uses : actions/setup-python@v4
10+ with :
11+ python-version : ' 3.8'
12+ env :
13+ AGENT_TOOLSDIRECTORY : /opt/hostedtoolcache
14+ - name : Run notebook
15+ run : |
16+ python scripts/make_example_script.py
17+ ipython examples/api_basics.py
18+ Run-310 :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v3
22+ - name : Set up Python
23+ uses : actions/setup-python@v4
24+ with :
25+ python-version : ' 3.10'
26+ env :
27+ AGENT_TOOLSDIRECTORY : /opt/hostedtoolcache
28+ - name : Run notebook
29+ run : |
30+ python scripts/make_example_script.py
31+ ipython examples/api_basics.py
32+ Run-312 :
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v3
36+ - name : Set up Python
37+ uses : actions/setup-python@v4
38+ with :
39+ python-version : ' 3.12'
40+ env :
41+ AGENT_TOOLSDIRECTORY : /opt/hostedtoolcache
42+ - name : Run notebook
43+ run : |
44+ python scripts/make_example_script.py
45+ ipython examples/api_basics.py
Original file line number Diff line number Diff line change 1+ name : Continous integration
2+ on : [push]
3+ jobs :
4+ Run-tests :
5+ # runs-on: ubuntu-latest
6+ runs-on : windows-latest # Changed from ubuntu-latest to windows-latest
7+ steps :
8+ - uses : actions/checkout@v3
9+ - name : Set up Python 3.9
10+ uses : actions/setup-python@v4
11+ with :
12+ python-version : ' 3.9'
13+ env :
14+ # AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
15+ AGENT_TOOLSDIRECTORY : C:\hostedtoolcache\ # Updated path for Windows
16+ - name : Install
17+ run : |
18+ pip install --upgrade pip
19+ pip install -r requirements.txt
20+ - name : Run tests
21+ run : |
22+ cd src; nose2 --with-coverage pySubnetSB_tests
23+ coverage-badge -o coverage.svg
24+ cd ..
25+ - name : Install package
26+ run : |
27+ pip install pySubnetSB
28+ - name : Run notebook
29+ run : |
30+ python scripts/make_example_script.py
31+ ipython examples/api_basics.py
You can’t perform that action at this time.
0 commit comments