-
Notifications
You must be signed in to change notification settings - Fork 41
60 lines (54 loc) · 1.93 KB
/
github-actions-MacOS12.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
52
53
54
55
56
57
58
59
60
name: MacOS 12
on:
push:
branches: master
pull_request:
branches: master
jobs:
UnitTestlatestSymPy:
runs-on: macos-12
strategy:
fail-fast: false
matrix:
python-version: ["3.7.15", "3.8.14", "3.10.8", "3.11.0"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install --upgrade nbconvert
python -m pip install testfixtures sympy mpmath jupyter matplotlib scipy clang_format
python -m pip install git+https://github.com/zachetienne/nrpylatex.git
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: UnitTests
run: |
./UnitTesting/run_NRPy_UnitTests.sh python3
# TwoBHsCollideJupyterNotebook:
# runs-on: macos-12
# strategy:
# fail-fast: false
# matrix:
# python-version: ["3.7.15", "3.8.14", "3.10.8", "3.11.0"]
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v3
# with:
# python-version: ${{ matrix.python-version }}
# - name: Brew install needed TeX packages (for pdflatex)
# run: |
# brew install texlive
# brew install ffmpeg colordiff pandoc
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip setuptools
# python -m pip install --upgrade nbconvert
# python -m pip install testfixtures sympy mpmath jupyter matplotlib scipy nrpylatex
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: BSSNTwoBHsCollide
# run: |
# ./run_Jupyter_notebook.sh Tutorial-Start_to_Finish-BSSNCurvilinear-Two_BHs_Collide_new_way.ipynb