Skip to content

Building 3238/merge on pull_request by alexowens90 #13799

Building 3238/merge on pull_request by alexowens90

Building 3238/merge on pull_request by alexowens90 #13799

name: Build with conda
permissions:
contents: read
run-name: Building ${{github.ref_name}} on ${{github.event_name}} by ${{github.actor}}
concurrency:
group: ${{github.ref}}-${{github.workflow}}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
inputs:
disable_cpp_tests: {required: false, type: boolean, default: false, description: Disable C++ tests}
persistent_storage: {required: false, type: choice, default: 'no', description: Persistent storage type, options: ['no', 'AWS_S3', 'GCPXML', 'AZURE']}
run_enable_logging: {required: false, type: boolean, default: false, description: Enable debug logging}
run_commandline: {required: false, type: string, default: '', description: Run custom commandline before tests}
run_custom_pytest_command: {required: false, type: string, default: '', description: Run custom pytest command or additional arguments}
jobs:
linux_64:
uses: ./.github/workflows/compile_and_test_with_conda.yml
secrets: inherit
with:
os: ubuntu-22.04
platform: linux_64
preset: linux-conda-release
hypothesis_profile: ci_linux
run_cpp_tests: ${{inputs.disable_cpp_tests != true}}
persistent_storage: ${{inputs.persistent_storage || 'no'}}
run_enable_logging: ${{inputs.run_enable_logging == true}}
run_commandline: ${{format('{0}', inputs.run_commandline)}}
run_custom_pytest_command: ${{format('{0}', inputs.run_custom_pytest_command)}}
linux_aarch64:
uses: ./.github/workflows/compile_and_test_with_conda.yml
secrets: inherit
with:
os: ubuntu-22.04-arm
platform: linux_aarch64
preset: linux-conda-release
run_cpp_tests: ${{inputs.disable_cpp_tests != true}}
persistent_storage: ${{inputs.persistent_storage || 'no'}}
run_enable_logging: ${{inputs.run_enable_logging == true}}
run_commandline: ${{format('{0}', inputs.run_commandline)}}
run_custom_pytest_command: ${{format('{0}', inputs.run_custom_pytest_command)}}
osx_arm64:
uses: ./.github/workflows/compile_and_test_with_conda.yml
secrets: inherit
with:
os: macos-26
platform: osx_arm64
preset: macos-conda-release
hypothesis_profile: ci_macos
install_mongodb: false # MongoDB is not available for macOS arm64
free_disk_space: false # Do not clean on macOS
run_cpp_tests: ${{inputs.disable_cpp_tests != true}}
persistent_storage: ${{inputs.persistent_storage || 'no'}}
run_enable_logging: ${{inputs.run_enable_logging == true}}
run_commandline: ${{format('{0}', inputs.run_commandline)}}
run_custom_pytest_command: ${{format('{0}', inputs.run_custom_pytest_command)}}
win_64:
uses: ./.github/workflows/compile_and_test_with_conda.yml
secrets: inherit
with:
os: windows-2022
platform: win_64
preset: windows-cl-conda-release
install_mongodb: false
free_disk_space: false
run_cpp_tests: false # C++ tests disabled on Windows (linking issue)
persistent_storage: ${{inputs.persistent_storage || 'no'}}
run_enable_logging: ${{inputs.run_enable_logging == true}}
run_commandline: ${{format('{0}', inputs.run_commandline)}}
run_custom_pytest_command: ${{format('{0}', inputs.run_custom_pytest_command)}}
publish_pytest_data:
needs: [linux_64, linux_aarch64, osx_arm64, win_64]
if: |
always() &&
!cancelled()
uses: ./.github/workflows/publish_pytest_data.yml
secrets: inherit
permissions:
contents: write
pull-requests: write
can_merge_conda:
name: All conda jobs completed
needs: [linux_64, linux_aarch64, osx_arm64, win_64]
if: |
always() &&
!failure() &&
!cancelled()
runs-on: ubuntu-22.04
steps:
- run: echo All conda jobs completed!