forked from VirtualPlanetaryLaboratory/vplanet
-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (33 loc) · 855 Bytes
/
memcheck.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
name: memcheck
on:
release:
types: [published]
jobs:
valgrind:
name: Run Valgrind on Ubuntu
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
id: setup_python
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: vplanet
environment-file: environment.yml
python-version: 3.8
- name: Install valgrind
id: install
if: steps.setup_python.outcome == 'success'
shell: bash -l {0}
run: |
sudo apt-get install valgrind
- name: Run valgrind test
if: steps.install.outcome == 'success'
shell: bash -l {0}
run: |
cd tests/
python -m unittest valgrind.py