We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d6f307 commit 863ba6eCopy full SHA for 863ba6e
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,42 @@
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
+ - main
11
+ push:
12
13
14
15
16
+env:
17
+ OMP_NUM_THREADS: 2
18
+ QT_QPA_PLATFORM: offscreen
19
20
+jobs:
21
+ ci:
22
+ container: openmc/openmc:v0.12.1
23
24
+ steps:
25
+ -
26
+ name: Apt dependencies
27
+ shell: bash
28
+ run: sudo apt install -y libgl1-mesa
29
30
+ uses: actions/checkout@v2
31
32
+ name: Install
33
34
+ run: |
35
+ cd ${GITHUB_WORKSPACE}
36
+ pip install .[test]
37
38
+ name: Test
39
40
41
42
+ pytest -v tests
0 commit comments