File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 52
52
with :
53
53
name : package-all
54
54
path : dist
55
+
56
+ test_artifacts :
57
+ name : Test distributions
58
+ needs : make_artifact
59
+ runs-on : ${{ matrix.os }}
60
+ strategy :
61
+ matrix :
62
+ os : [ ubuntu-latest, macos-latest ]
63
+ # Can't really test with Windows because 'TcAdsDll.dll' will be missing
64
+
65
+ steps :
66
+ - uses : actions/download-artifact@v4
67
+ with :
68
+ name : package-all
69
+ path : dist
70
+
71
+ - uses : actions/setup-python@v5
72
+ with :
73
+ python-version : " 3.12"
74
+
75
+ # Now install the package from the local wheels and try to use it:
76
+ - run : |
77
+ pip install pyads --no-index --find-links ./dist
78
+ python -c "import pyads; pyads.Connection(ams_net_id='127.0.0.1.1.1', ams_net_port=851)"
79
+
80
+ test_editable :
81
+ name : Test editable install
82
+ runs-on : ubuntu-latest
83
+
84
+ steps :
85
+ - uses : actions/checkout@v4
86
+ with :
87
+ submodules : " true"
88
+
89
+ - uses : actions/setup-python@v5
90
+ with :
91
+ python-version : " 3.12"
92
+
93
+ - run : |
94
+ pip install -e . -vv
95
+ python -c "import pyads; pyads.Connection(ams_net_id='127.0.0.1.1.1', ams_net_port=851)"
You can’t perform that action at this time.
0 commit comments