-
Notifications
You must be signed in to change notification settings - Fork 17
37 lines (36 loc) · 1.05 KB
/
test_IAMReX.yml
File metadata and controls
37 lines (36 loc) · 1.05 KB
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
name: test_IAMReX
run-name: IAMReX/test_IAMReX.py is running by ${{ github.actor }} 🚀
on:
# schedule:
# - cron: "*/5 * * * *"
push:
paths:
- 'Source/**'
jobs:
test-IAMReX:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: List and pwd
run: |
ls /home/runner/work
echo "------------"
ls /home/runner/work/IAMReX
echo "------------"
- name: Install MPI
run: |
sudo apt update
sudo apt install -y openmpi-bin openmpi-common libopenmpi-dev
- name: Clone AMReX and AMReX-Hydro repositories
run: |
cd /home/runner/work/IAMReX
git clone --depth 1 https://github.com/AMReX-Codes/amrex.git
git clone --depth 1 https://github.com/AMReX-Fluids/AMReX-Hydro.git
- name: Run IAMReX tests
run: |
cd /home/runner/work/IAMReX/IAMReX
python Test_IAMReX/test_IAMReX.py
- name: Finished.
run: |
echo "Tests completed!"