Skip to content

implement n_hours_per_met_file #141

implement n_hours_per_met_file

implement n_hours_per_met_file #141

Workflow file for this run

name: Build + Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
R_LIBS_USER: .Rpackages
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update -yq
sudo apt-get install -yq --no-install-recommends \
build-essential \
git \
libgdal-dev \
libhdf5-serial-dev \
libnetcdf-dev \
libssl-dev \
libxml2-dev \
locales \
netcdf-bin \
procps \
r-base \
r-base-dev \
unzip \
wget
- name: Create R package install path
run: mkdir -p $R_LIBS_USER
- name: Install STILT
run: bash test/test_setup.sh
- name: Run batch simulation test
run: bash test/test_run_stilt.sh
- name: Run CLI test
run: bash test/test_stilt_cli.sh
- name: Run CLI column receptor test
run: bash test/test_stilt_cli.sh
- name: Run WRF test
run: bash test/test_wrf_converter.sh
- name: Install Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Test docker build
run: docker build -t stilt .