GASP mass fixed.py and fuel.py updates #6439
Workflow file for this run
This file contains hidden or 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
| # Run Tests | |
| name: Test Benchmarks | |
| 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: | |
| latest_benchmarks: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 90 | |
| steps: | |
| - name: Checkout actions | |
| uses: actions/checkout@v6 | |
| with: | |
| sparse-checkout: | | |
| .github/actions | |
| path: actions | |
| - name: prepare_benchmark_environment | |
| uses: ./actions/.github/actions/prepare_environment | |
| with: | |
| NAME: 'latest' | |
| OPENMDAO_PIXI_ENVIRONMENT: 'py313' | |
| OPENMDAO_INSTALL_FROM: 'pypi' | |
| OPENMDAO: '' | |
| SNOPT: '7.7' | |
| DYMOS: 'latest' | |
| SSH_PRIVATE_KEY: ${{secrets.SSH_PRIVATE_KEY}} | |
| SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}} | |
| SNOPT_LOCATION_77: ${{ secrets.SNOPT_LOCATION_77 }} | |
| - name: Run benchmarks | |
| shell: bash -l {0} | |
| run: | | |
| eval "$(pixi shell-hook -e py313 --manifest-path=${{ env.PIXI_MANIFEST }})" | |
| echo "=============================================================" | |
| echo "Run Benchmarks" | |
| echo "=============================================================" | |
| testflo . --timeout=900 --testmatch=bench_test* | |
| - name: Checkout actions (again) | |
| uses: actions/checkout@v6 | |
| with: | |
| sparse-checkout: | | |
| .github/actions | |
| path: actions |