-
Notifications
You must be signed in to change notification settings - Fork 29
36 lines (32 loc) · 916 Bytes
/
tests.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
name: Test QDYN
on: [push]
jobs:
test-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install numpy "scipy>=1.9.0" matplotlib pandas termcolor ipython
pip install -e .
- name: Install compiler
run: sudo apt install -y gfortran libopenmpi-dev
- name: Copy mymakedepend
run: cp ./qdyn/utils/devel_tools/mymakedepend.perl ./qdyn
- name: Compile FORTRAN code
working-directory: ./qdyn
run: |
chmod +x mymakedepend.perl
./mymakedepend.perl
make clean && make test
- name: Run test suite
working-directory: ./test
run: python test_suite.py