-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from nasa/release/v1.6
Release/v1.6
- Loading branch information
Showing
604 changed files
with
58,098 additions
and
3,563 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Coverage | ||
|
||
on: | ||
push: | ||
pull_request: | ||
paths: | ||
- progpy | ||
|
||
jobs: | ||
coverage: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.10'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-cache | ||
- name: Install additional dependencies | ||
run: | | ||
pip install coverage | ||
pip install importlib_metadata | ||
- name: Update | ||
run: pip install --upgrade --upgrade-strategy eager -e . | ||
- name: Run coverage | ||
run: | | ||
coverage run -m tests.test_base_models | ||
coverage run -a -m tests.test_battery | ||
coverage run -a -m tests.test_calc_error | ||
coverage run -a -m tests.test_centrifugal_pump | ||
coverage run -a -m tests.test_composite | ||
coverage run -a -m tests.test_datasets | ||
coverage run -a -m tests.test_dict_like_matrix_wrapper | ||
coverage run -a -m tests.test_direct | ||
coverage run -a -m tests.test_estimate_params | ||
coverage run -a -m tests.test_ensemble | ||
coverage run -a -m tests.test_linear_model | ||
coverage run -a -m tests.test_pneumatic_valve | ||
coverage run -a -m tests.test_powertrain | ||
coverage run -a -m tests.test_predictors | ||
coverage run -a -m tests.test_serialization | ||
coverage run -a -m tests.test_sim_result | ||
coverage run -a -m tests.test_state_estimators | ||
coverage run -a -m tests.test_uav_model | ||
coverage run -a -m tests.test_uav_model | ||
coverage xml -i | ||
- name: "Upload coverage to Codecov" | ||
uses: codecov/codecov-action@v3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Greetings | ||
|
||
on: [pull_request_target] | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
pr-message: "Thank you for your contributions. If you haven't already, please send a signed Contributor License Agreement (CLA) to Christopher Teubert (christopher.a.teubert@nasa.gov). CLAs can be found here: https://github.com/nasa/progpy/tree/master/forms. Also, make sure you're familiar with the developer notes and contributing sections of our developers guide, https://nasa.github.io/progpy/dev_guide.html#notes-for-developers" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Print PR Message - Non Release | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'dev' | ||
types: [opened] | ||
|
||
jobs: | ||
pr_msg: | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Auto Comment | ||
uses: wow-actions/auto-comment@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
pullRequestOpened: > | ||
Thank you for opening this PR. Each PR into dev requires a code review. For the code review, look at the following: | ||
- [ ] Reviewer (someone other than author) should look for bugs, efficiency, readability, testing, and coverage in examples (if relevant). | ||
- [ ] Ensure that each PR adding a new feature should include a test verifying that feature. | ||
- [ ] All errors from static analysis must be resolved. | ||
- [ ] Review the test coverage reports (if there is a change) - will be added as comment on PR if there is a change | ||
- [ ] Review the software benchmarking results (if there is a change) - will be added as comment on PR | ||
- [ ] Any added dependencies are included in requirements.txt, setup.py, and dev_guide.rst (this document) | ||
- [ ] All warnings from static analysis must be reviewed and resolved - if deemed appropriate. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# name: Print Benchmarking | ||
|
||
# on: pull_request | ||
|
||
# jobs: | ||
# benchmark_branch: | ||
# timeout-minutes: 20 | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python-version: ['3.9'] | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Set up Python ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v2 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# - name: Install dependencies | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# python -m pip install -e . | ||
# - name: benchmark | ||
# id: bench | ||
# shell: bash | ||
# run: | | ||
# bench=$(python -m tests.benchmarking) | ||
# # V To support multiline strings V | ||
# bench="${bench//'%'/'%25'}" | ||
# bench="${bench//$'\n'/'%0A'}" | ||
# bench="${bench//$'\r'/'%0D'}" | ||
# echo "::set-output name=bench::$bench" | ||
# - name: Clone prog_models | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# repository: nasa/prog_models | ||
# ref: ${{ github.event.pull_request.base.ref }} | ||
# path: prog_models_target | ||
# - name: Downgrade | ||
# run: | | ||
# python -m pip uninstall -y prog_models | ||
# python -m pip install -e ./prog_models_target | ||
# cd prog_models_target | ||
# - name: benchmark-pre | ||
# id: bench-pre | ||
# shell: bash | ||
# run: | | ||
# bench=$(python -m tests.benchmarking) | ||
# # V To support multiline strings V | ||
# bench="${bench//'%'/'%25'}" | ||
# bench="${bench//$'\n'/'%0A'}" | ||
# bench="${bench//$'\r'/'%0D'}" | ||
# echo "::set-output name=bench::$bench" | ||
# - name: Auto Comment | ||
# uses: wow-actions/auto-comment@v1 | ||
# with: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# pullRequestOpened: > | ||
# Benchmarking Results | ||
|
||
# From: | ||
|
||
# ${{steps.bench-pre.outputs.bench}} | ||
|
||
# To: | ||
|
||
# ${{steps.bench.outputs.bench}} | ||
|
||
# pullRequestSynchronize: > | ||
# Benchmarking Results [Update] | ||
|
||
# From: | ||
|
||
# ${{steps.bench-pre.outputs.bench}} | ||
|
||
|
||
# To: | ||
|
||
|
||
# ${{steps.bench.outputs.bench}} |
Oops, something went wrong.