File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -150,3 +150,33 @@ jobs:
150
150
- run : |
151
151
export PYTHONPATH=.
152
152
python tests/run_all_tests.py --type=k8s_live_general
153
+ build_package :
154
+ runs-on : ubuntu-latest
155
+ steps :
156
+ - uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
157
+ - uses : ./.github/actions/setup-nca-env
158
+ - name : Build package
159
+ run : |
160
+ pip install build
161
+ python -m build
162
+ - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
163
+ with :
164
+ name : nca-package
165
+ path : dist/*
166
+ test_package :
167
+ runs-on : ubuntu-latest
168
+ needs : build_package
169
+ steps :
170
+ - uses : actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
171
+ with :
172
+ python-version : 3.8
173
+ architecture : x64
174
+ - uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
175
+ with :
176
+ name : nca-package
177
+ path : nca_build
178
+ - run : |
179
+ pip install nca_build/network-config-analyzer-*.tar.gz
180
+ nca --connectivity -r https://github.com/IBM/network-config-analyzer/blob/master/tests/livesim_tests/livesim_topology.yaml
181
+ env:
182
+ GHE_TOKEN: ${{ github.token }}
You can’t perform that action at this time.
0 commit comments