forked from openmc-dev/plotter
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 786 Bytes
/
ci.yml
File metadata and controls
44 lines (40 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on:
# allows us to run workflows manually
workflow_dispatch:
pull_request:
branches:
- develop
- master
push:
branches:
- develop
- master
env:
OMP_NUM_THREADS: 2
QT_QPA_PLATFORM: offscreen
jobs:
ci:
runs-on: ubuntu-latest
container: openmc/openmc:develop
steps:
-
name: Apt dependencies
shell: bash
run: |
apt update
apt install -y libglu1-mesa libglib2.0-0 libfontconfig1
-
uses: actions/checkout@v2
-
name: Install
shell: bash
run: |
cd ${GITHUB_WORKSPACE}
pip install .[test]
-
name: Test
shell: bash
run: |
cd ${GITHUB_WORKSPACE}
pytest -v tests