-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1013 Bytes
/
opsim-test.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
name: opsim-test
on:
# Triggers the workflow on push or pull request events
push:
branches: [ main, maxim-ci ]
pull_request:
branches: [ main, maxim-ci ]
# Enable manual activation, too
workflow_dispatch:
jobs:
luseepy-test:
runs-on: ubuntu-latest
env:
PYTHONPATH: .:..
LUSEE_DRIVE_DIR: Drive
LUSEE_OUTPUT_DIR: ./output
container: lusee/lusee-night-unity-luseepy:1.2
steps:
- uses: actions/checkout@v4
- run: |
export LUSEEPY_PATH=/user/luseepy
export LUSEEOPSIM_PATH=`pwd`
pip install simpy
./test/battery_discharge_test.py -v
- run: |
export LUSEEPY_PATH=/user/luseepy
export LUSEEOPSIM_PATH=`pwd`
pip install simpy
./test/sim_test.py -v
- run: |
export LUSEEPY_PATH=/user/luseepy
export LUSEEOPSIM_PATH=`pwd`
pip install simpy
chmod +x ./test/var_rate_test.py
./test/var_rate_test.py -v