Add functionality for time-variable abundances and radiative losses #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- name: Run tests | |
command: pytest | |
- name: Build docs | |
command: cd docs && make && cd .. | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Python dependencies | |
run: | | |
pip install -r requirements/requirements-all.txt | |
- name: Install boost | |
run: | | |
sudo apt-get update | |
sudo apt-get install libboost-all-dev | |
- name: Compile ebtel++ | |
run: | | |
scons | |
- run: | | |
${{ matrix.command }} |