File tree Expand file tree Collapse file tree 2 files changed +45
-1
lines changed
Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ # allows us to run workflows manually
5+ workflow_dispatch :
6+
7+ pull_request :
8+ branches :
9+ - develop
10+ - master
11+ push :
12+ branches :
13+ - develop
14+ - master
15+
16+ env :
17+ OMP_NUM_THREADS : 2
18+ QT_QPA_PLATFORM : offscreen
19+
20+ jobs :
21+ ci :
22+ runs-on : ubuntu-latest
23+ container : openmc/openmc:develop
24+ steps :
25+ -
26+ name : Apt dependencies
27+ shell : bash
28+ run : |
29+ apt update
30+ apt install -y libglu1-mesa
31+ -
32+ uses : actions/checkout@v2
33+ -
34+ name : Install
35+ shell : bash
36+ run : |
37+ cd ${GITHUB_WORKSPACE}
38+ pip install .[test]
39+ -
40+ name : Test
41+ shell : bash
42+ run : |
43+ cd ${GITHUB_WORKSPACE}
44+ pytest -v tests
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ name: Upload Python Package
88on :
99 push :
1010 branches :
11- - develop
11+ - master
1212
1313jobs :
1414 deploy :
You can’t perform that action at this time.
0 commit comments