Skip to content

Fuselage layout enhancement and modification #7230

Fuselage layout enhancement and modification

Fuselage layout enhancement and modification #7230

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:
concurrency:
# Cancel any existing CI runs if we push to this branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre_commit:
# run pre-commit checks
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- uses: pre-commit/action@v3.0.1
test_aviary:
strategy:
fail-fast: false
matrix:
include:
# oldest supported versions of openmdao/dymos
# Note: bugfixes sometimes require incrementing the minimal version of openmdao or dymos.
- NAME: oldest-supported
OS: ubuntu-24.04
OPENMDAO_PIXI_ENVIRONMENT: 'py311'
OPENMDAO_INSTALL_FROM: 'pypi'
OPENMDAO: '3.43.0'
SNOPT: '7.7'
DYMOS: '1.13.1'
COVERAGE: true
# latest versions of openmdao/dymos
- NAME: latest-ubuntu
OS: ubuntu-24.04
OPENMDAO_PIXI_ENVIRONMENT: 'py314'
OPENMDAO_INSTALL_FROM: 'github'
OPENMDAO: ''
SNOPT: '7.7'
DYMOS: 'latest'
COVERAGE: true
# latest versions of openmdao/dymos
- NAME: latest-macos
OS: macos-latest
OPENMDAO_PIXI_ENVIRONMENT: 'py314'
OPENMDAO_INSTALL_FROM: 'github'
OPENMDAO: ''
SNOPT: '7.7'
DYMOS: 'latest'
COVERAGE: true
# latest versions of openmdao/dymos
# Coverage currently has some problems in windows, according to the openmdao workflows.
- NAME: latest-windows
OS: windows-latest
OPENMDAO_PIXI_ENVIRONMENT: 'py314'
OPENMDAO_INSTALL_FROM: 'github'
OPENMDAO: ''
SNOPT: false
DYMOS: 'latest'
COVERAGE: false
runs-on: ${{ matrix.OS }}
steps:
- name: Checkout actions
uses: actions/checkout@v6
with:
sparse-checkout: |
.github/actions
path: actions
- name: prepare_testing_environment
uses: ./actions/.github/actions/prepare_environment
with:
NAME: ${{ matrix.NAME }}
OPENMDAO_PIXI_ENVIRONMENT: ${{ matrix.OPENMDAO_PIXI_ENVIRONMENT }}
OPENMDAO_INSTALL_FROM: ${{ matrix.OPENMDAO_INSTALL_FROM }}
OPENMDAO: ${{ matrix.OPENMDAO }}
SNOPT: ${{ matrix.SNOPT }}
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}
env:
# MPI settings for CI (all platforms)
PRTE_MCA_rmaps_default_mapping_policy: ":oversubscribe"
OMPI_MCA_rmaps_base_oversubscribe: "1"
run: |
eval "$(pixi shell-hook -e ${{ matrix.OPENMDAO_PIXI_ENVIRONMENT }} --manifest-path=${{ env.PIXI_MANIFEST }})"
if [[ "${{ matrix.COVERAGE }}" == "true" ]]; then
echo "============================================================="
echo "Run Tests with coverage"
echo "============================================================="
testflo . --timeout=200 --show_skipped --coverage --coverpkg aviary
else
echo "============================================================="
echo "Run Tests"
echo "============================================================="
testflo . --timeout=200 --show_skipped
fi
- name: Checkout actions (again)
uses: actions/checkout@v6
with:
sparse-checkout: |
.github/actions
path: actions