-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (39 loc) · 1.04 KB
/
nrntest-ci.yml
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
45
46
47
48
49
50
51
name: NRNTEST CI
concurrency:
group: ${{ github.workflow }}#${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
PY_VERSION: 3.9
jobs:
coverage:
runs-on: ubuntu-latest
name: NRNTEST
timeout-minutes: 5
steps:
- name: Install apt packages
run: |
sudo apt-get install build-essential libopenmpi-dev libmpich-dev libx11-dev libxcomposite-dev mpich openmpi-bin
shell: bash
- name: Set up Python@${{ env.PY_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PY_VERSION }}
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Install Python@${{ env.PY_VERSION }} dependencies
run: |
python -m pip install --upgrade pip neuron_nightly packaging
- name: Test
id: test
shell: bash
working-directory: ${{runner.workspace}}/nrntest
run: |
./runtests