Skip to content

Commit 26c1c4d

Browse files
authored
Merge branch 'dev' into new_enhancement
2 parents e57af59 + 7e9b223 commit 26c1c4d

File tree

12 files changed

+484
-211
lines changed

12 files changed

+484
-211
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ jobs:
4545
coverage run -a -m tests.test_linear_model
4646
coverage run -a -m tests.test_pneumatic_valve
4747
coverage run -a -m tests.test_powertrain
48+
coverage run -a -m tests.test_predictors
4849
coverage run -a -m tests.test_serialization
4950
coverage run -a -m tests.test_sim_result
51+
coverage run -a -m tests.test_state_estimators
52+
coverage run -a -m tests.test_uav_model
5053
coverage run -a -m tests.test_uav_model
5154
coverage xml -i
5255
- name: "Upload coverage to Codecov"

.github/workflows/python-package.yml

Lines changed: 61 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,24 @@ jobs:
8282
run: pip install --upgrade --upgrade-strategy eager -e .
8383
- name: Run tests
8484
run: python -m tests.test_centrifugal_pump
85+
test_composite:
86+
timeout-minutes: 5
87+
runs-on: ubuntu-latest
88+
steps:
89+
- uses: actions/checkout@v3
90+
- name: Set up Python
91+
uses: actions/setup-python@v4
92+
with:
93+
python-version: '3.7'
94+
- name: Install dependencies cache
95+
uses: actions/cache@v2
96+
with:
97+
path: ~/.cache/pip
98+
key: pip-cache
99+
- name: Update
100+
run: pip install --upgrade --upgrade-strategy eager -e .
101+
- name: Run tests
102+
run: python -m tests.test_composite
85103
test_data_model:
86104
timeout-minutes: 15
87105
runs-on: ubuntu-latest
@@ -193,7 +211,7 @@ jobs:
193211
- name: Run tests
194212
run: python -m tests.test_estimate_params
195213
test_examples:
196-
timeout-minutes: 20
214+
timeout-minutes: 25
197215
runs-on: ubuntu-latest
198216
steps:
199217
- uses: actions/checkout@v3
@@ -264,6 +282,24 @@ jobs:
264282
run: pip install --upgrade --upgrade-strategy eager -e .
265283
- name: Run tests
266284
run: python -m tests.test_powertrain
285+
test_predictors:
286+
timeout-minutes: 5
287+
runs-on: ubuntu-latest
288+
steps:
289+
- uses: actions/checkout@v3
290+
- name: Set up Python
291+
uses: actions/setup-python@v4
292+
with:
293+
python-version: '3.7'
294+
- name: Install dependencies cache
295+
uses: actions/cache@v2
296+
with:
297+
path: ~/.cache/pip
298+
key: pip-cache
299+
- name: Update
300+
run: pip install --upgrade --upgrade-strategy eager -e .
301+
- name: Run tests
302+
run: python -m tests.test_predictors
267303
test_serialization:
268304
timeout-minutes: 5
269305
runs-on: ubuntu-latest
@@ -300,6 +336,24 @@ jobs:
300336
run: pip install --upgrade --upgrade-strategy eager -e .
301337
- name: Run tests
302338
run: python -m tests.test_sim_result
339+
test_state_estimators:
340+
timeout-minutes: 5
341+
runs-on: ubuntu-latest
342+
steps:
343+
- uses: actions/checkout@v3
344+
- name: Set up Python
345+
uses: actions/setup-python@v4
346+
with:
347+
python-version: '3.7'
348+
- name: Install dependencies cache
349+
uses: actions/cache@v2
350+
with:
351+
path: ~/.cache/pip
352+
key: pip-cache
353+
- name: Update
354+
run: pip install --upgrade --upgrade-strategy eager -e .
355+
- name: Run tests
356+
run: python -m tests.test_state_estimators
303357
test_surrogates:
304358
timeout-minutes: 5
305359
runs-on: ubuntu-latest
@@ -357,72 +411,24 @@ jobs:
357411
run: pip install --upgrade --upgrade-strategy eager -e .
358412
- name: Run tests
359413
run: python -m tests.test_uav_model
360-
# test_prog_algs_released:
361-
# timeout-minutes: 30
362-
# runs-on: ubuntu-latest
363-
# strategy:
364-
# matrix:
365-
# python-version: ['3.9']
366-
# steps:
367-
# - uses: actions/checkout@v2
368-
# - name: Set up Python ${{ matrix.python-version }}
369-
# uses: actions/setup-python@v2
370-
# with:
371-
# python-version: ${{ matrix.python-version }}
372-
# - name: Install dependencies
373-
# run: |
374-
# python -m pip install --upgrade pip
375-
# python -m pip install -e .
376-
# python -m pip install notebook
377-
# python -m pip install testbook
378-
# python -m pip install requests
379-
# - name: Clone prog_algs
380-
# uses: actions/checkout@v2
381-
# with:
382-
# repository: nasa/prog_algs
383-
# ref: refs/heads/master
384-
# path: prog_algs
385-
# - name: Install prog_algs
386-
# run: |
387-
# python -m pip install -e ./prog_algs
388-
# - name: Run tests
389-
# run: |
390-
# cd prog_algs
391-
# python -m tests
392-
test_prog_algs_dev:
393-
timeout-minutes: 30
414+
test_uncertain_data:
415+
timeout-minutes: 5
394416
runs-on: ubuntu-latest
395-
strategy:
396-
matrix:
397-
python-version: [ '3.9']
398417
steps:
399418
- uses: actions/checkout@v3
400-
- name: Set up Python ${{ matrix.python-version }}
419+
- name: Set up Python
401420
uses: actions/setup-python@v4
402421
with:
403-
python-version: ${{ matrix.python-version }}
422+
python-version: '3.7'
404423
- name: Install dependencies cache
405424
uses: actions/cache@v2
406425
with:
407426
path: ~/.cache/pip
408427
key: pip-cache
409428
- name: Update
410-
run: |
411-
pip install --upgrade --upgrade-strategy eager -e .
412-
pip install notebook
413-
pip install testbook
414-
- name: Clone prog_algs
415-
uses: actions/checkout@v3
416-
with:
417-
repository: nasa/prog_algs
418-
ref: refs/heads/dev
419-
path: prog_algs
420-
- name: Install prog_algs
421-
run: pip install -e ./prog_algs
429+
run: pip install --upgrade --upgrade-strategy eager -e .
422430
- name: Run tests
423-
run: |
424-
cd prog_algs
425-
python -m tests
431+
run: python -m tests.test_uncertain_data
426432
copyright:
427433
timeout-minutes: 5
428434
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)