forked from OpenMDAO/Aviary
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'notify_teams' of https://github.com/crecine/om-Aviary i…
…nto notify_teams
- Loading branch information
Showing
177 changed files
with
3,093 additions
and
8,612 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
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 |
---|---|---|
|
@@ -11,10 +11,12 @@ on: | |
merge_group: | ||
branches: [ main ] | ||
|
||
# Allow running the workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
pre_commit: | ||
if: github.repository_owner == 'OpenMDAO' | ||
# run pre-commit checks | ||
runs-on: ubuntu-latest | ||
|
||
|
@@ -26,7 +28,6 @@ jobs: | |
- uses: pre-commit/[email protected] | ||
|
||
test_ubuntu: | ||
if: github.repository_owner == 'OpenMDAO' | ||
runs-on: ubuntu-latest | ||
|
||
timeout-minutes: 90 | ||
|
@@ -42,9 +43,10 @@ jobs: | |
SCIPY: '1.6' | ||
PYOPTSPARSE: 'v2.9.1' | ||
SNOPT: '7.7' | ||
OPENMDAO: '3.27' | ||
OPENMDAO: 'dev' | ||
DYMOS: '1.8.0' | ||
MAKE_DOCS: 0 | ||
RUN_BENCHES: 0 | ||
|
||
# development versions of openmdao/dymos | ||
- NAME: dev | ||
|
@@ -56,6 +58,7 @@ jobs: | |
OPENMDAO: 'dev' | ||
DYMOS: 'dev' | ||
MAKE_DOCS: 0 | ||
RUN_BENCHES: 0 | ||
|
||
# latest versions of openmdao/dymos | ||
- NAME: latest | ||
|
@@ -64,9 +67,10 @@ jobs: | |
SCIPY: 1 | ||
PYOPTSPARSE: 'v2.9.1' | ||
SNOPT: '7.7' | ||
OPENMDAO: 'latest' | ||
OPENMDAO: 'dev' | ||
DYMOS: 'latest' | ||
MAKE_DOCS: 0 | ||
RUN_BENCHES: 0 | ||
|
||
# latest versions of openmdao/dymos for docs only | ||
- NAME: latest_docs | ||
|
@@ -75,9 +79,22 @@ jobs: | |
SCIPY: 1 | ||
PYOPTSPARSE: 'v2.9.1' | ||
SNOPT: '7.7' | ||
OPENMDAO: 'latest' | ||
OPENMDAO: 'dev' | ||
DYMOS: 'latest' | ||
MAKE_DOCS: 1 | ||
RUN_BENCHES: 0 | ||
|
||
# latest versions of openmdao/dymos for benches only | ||
- NAME: latest_benches | ||
PY: 3 | ||
NUMPY: 1 | ||
SCIPY: 1 | ||
PYOPTSPARSE: 'v2.9.1' | ||
SNOPT: '7.7' | ||
OPENMDAO: 'latest' | ||
DYMOS: 'latest' | ||
MAKE_DOCS: 0 | ||
RUN_BENCHES: 1 | ||
|
||
steps: | ||
- name: Display run details | ||
|
@@ -106,6 +123,7 @@ jobs: | |
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.PY }} | ||
channels: conda-forge | ||
|
||
- name: Install dependencies | ||
shell: bash -l {0} | ||
|
@@ -203,7 +221,7 @@ jobs: | |
retention-days: 5 | ||
|
||
- name: Generate specs | ||
if: matrix.MAKE_DOCS == 0 | ||
if: matrix.MAKE_DOCS == 0 && matrix.RUN_BENCHES == 0 | ||
shell: bash -l {0} | ||
run: | | ||
echo "=============================================================" | ||
|
@@ -214,14 +232,23 @@ jobs: | |
cd ../.. | ||
- name: Run tests | ||
if: matrix.MAKE_DOCS == 0 | ||
if: matrix.MAKE_DOCS == 0 && matrix.RUN_BENCHES == 0 | ||
shell: bash -l {0} | ||
run: | | ||
echo "=============================================================" | ||
echo "Run Tests" | ||
echo "=============================================================" | ||
testflo . -n 1 --show_skipped --coverage --coverpkg aviary | ||
- name: Run benchmarks | ||
if: matrix.RUN_BENCHES | ||
shell: bash -l {0} | ||
run: | | ||
echo "=============================================================" | ||
echo "Run Benchmarks" | ||
echo "=============================================================" | ||
testflo . --testmatch=bench_test* | ||
- name: Build docs | ||
if: matrix.MAKE_DOCS | ||
shell: bash -l {0} | ||
|
@@ -232,7 +259,7 @@ jobs: | |
echo "Build the docs" | ||
echo "=============================================================" | ||
bash build_book.sh | ||
- name: Display doc build reports | ||
continue-on-error: True | ||
if: matrix.MAKE_DOCS | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.9.2-dev" | ||
__version__ = "0.9.3-dev" |
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.