Skip to content

Commit 3a47f19

Browse files
authored
Merge pull request #81 from OpenWaterAnalytics/dev-workflow
Add nrtest-swmm plugin to Actions wheel build
2 parents cfd23dc + a99241a commit 3a47f19

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/python-package.yml

+28
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ env:
77

88

99
jobs:
10+
build_nrtest_plugin:
11+
name: Build nrtest-swmm plugin
12+
runs-on: ubuntu-18.04
13+
defaults:
14+
run:
15+
working-directory: ./nrtest-swmm
16+
17+
steps:
18+
- name: Checkout repo
19+
uses: actions/checkout@v2
20+
with:
21+
submodules: true
22+
23+
- name: Install Python
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: 3.7
27+
28+
- name: Build wheel
29+
run: |
30+
pip install wheel
31+
python setup.py bdist_wheel
32+
- uses: actions/upload-artifact@v2
33+
with:
34+
path: nrtest-swmm/dist/*.whl
35+
36+
37+
1038
build_linux_wheels:
1139
name: Build wheels on linux
1240
runs-on: ubuntu-18.04

0 commit comments

Comments
 (0)