Skip to content

Set FLOPS mass default #2823

Set FLOPS mass default

Set FLOPS mass default #2823

Workflow file for this run

# Run Tests
name: Aviary Tests
on:
# Trigger on push or pull request events for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group:
branches: [ main ]
# Allow running the workflow manually from the Actions tab
workflow_dispatch:
jobs:
pre_commit:
# run pre-commit checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: pre-commit/[email protected]
test_ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# oldest versions of openmdao/dymos
# Note: bugfixes sometimes require incrementing the minimal version of openmdao or dymos.
- NAME: oldest
PY: '3.9'
NUMPY: '1.20'
SCIPY: '1.6'
PYOPTSPARSE: 'v2.9.1'
SNOPT: '7.7'
OPENMDAO: '3.35.0'
DYMOS: '1.8.0'
# latest versions of openmdao/dymos
- NAME: latest
PY: '3.10'
NUMPY: 1
SCIPY: 1
PYOPTSPARSE: 'v2.9.1'
SNOPT: '7.7'
OPENMDAO: 'latest'
DYMOS: 'latest'
steps:
- name: Checkout actions
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/actions
path: actions
- name: prepare_testing_environment
uses: ./actions/.github/actions/prepare_environment
with:
NAME: ${{ matrix.NAME }}
PY: ${{ matrix.PY }}
NUMPY: ${{ matrix.NUMPY }}
SCIPY: ${{ matrix.SCIPY }}
PYOPTSPARSE: ${{ matrix.PYOPTSPARSE }}
SNOPT: ${{ matrix.SNOPT }}
OPENMDAO: ${{ matrix.OPENMDAO }}
DYMOS: ${{ matrix.DYMOS }}
SSH_PRIVATE_KEY: ${{secrets.SSH_PRIVATE_KEY}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
SNOPT_LOCATION_77: ${{ secrets.SNOPT_LOCATION_77 }}
- name: Run tests
shell: bash -l {0}
run: |
echo "============================================================="
echo "Run Tests"
echo "============================================================="
testflo . -n 1 --timeout=200 --show_skipped --coverage --coverpkg aviary
- name: Checkout actions (again)
uses: actions/checkout@v3
with:
sparse-checkout: |
.github/actions
path: actions