Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/actions/setup_cubit/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: setup_cubit
description: Setup a Cubit installation for testing
inputs:
cubit_download_url:
description: URL where Cubit can be downloaded from
required: true
runs:
using: composite
steps:
- name: Download and unpack Cubit
shell: bash
run: |
cd ${GITHUB_WORKSPACE}
wget -q ${{ inputs.cubit_download_url }}
tar -xzf *.tar.gz
10 changes: 8 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/4c-multiphysics/4c:main
env:
CUBIT_ROOT: ${GITHUB_WORKSPACE}/Coreform-Cubit-2025.3
defaults:
run:
shell: bash
Expand All @@ -88,6 +90,10 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- name: Setup cubit
uses: ./.github/actions/setup_cubit
with:
cubit_download_url: https://f002.backblazeb2.com/file/cubit-downloads/Coreform-Cubit/Releases/Linux/Coreform-Cubit-2025.3%2B58709-Lin64.tar.gz
- name: Setup virtual python environment
uses: ./.github/actions/setup_virtual_python_environment
- name: Build ArborX geometric search
Expand All @@ -96,8 +102,8 @@ jobs:
uses: ./.github/actions/run_tests
with:
source-command: "source python-workflow-venv/bin/activate"
install-command: "-e .[dev,fourc]"
additional-pytest-flags: "--4C --ArborX --cov-fail-under=93"
install-command: "-e .[cubitpy,dev,fourc]"
additional-pytest-flags: "--4C --ArborX --CubitPy --performance-tests --cov-fail-under=93"
- name: Upload test results on failure
if: failure()
uses: actions/upload-artifact@v4
Expand Down
Loading