-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (46 loc) · 1.26 KB
/
example-testing.yml
File metadata and controls
55 lines (46 loc) · 1.26 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Notes:
# Bash shells do not use ~/.profile or ~/.bashrc so these shells need to be explicitely declared as shell: bash -el {0}
# https://github.com/marketplace/actions/setup-miniconda#important
#
name: Examples
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
container:
image: jammont/isofit:amd64
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Enable ISOFIT Environment
run: |
echo PATH=/home/ray/anaconda3/envs/isofit/bin/:$PATH >> $GITHUB_ENV
- name: Install Isofit
run: |
pip install --no-deps --force-reinstall --editable .
- name: 20151026_SantaMonica
run: |
cd examples/20151026_SantaMonica
bash run_examples.sh
- name: 20171108_Pasadena
run: |
cd examples/20171108_Pasadena
bash run_example_modtran.sh
python run_topoflux_example.py
- name: 20190806_ThermalIR
run: |
cd examples/20190806_ThermalIR
python run_example_modtran_one.py
- name: profiling_cube/small
run: |
cd examples/profiling_cube
ISOFIT_DEBUG=1 python run_profiling.py