Skip to content

[WIP] Build images#2028

Open
adam-urbanczyk wants to merge 32 commits intomasterfrom
adam-images
Open

[WIP] Build images#2028
adam-urbanczyk wants to merge 32 commits intomasterfrom
adam-images

Conversation

@adam-urbanczyk
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.61%. Comparing base (f86ff79) to head (3c99e9a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2028   +/-   ##
=======================================
  Coverage   95.61%   95.61%           
=======================================
  Files          30       30           
  Lines        8881     8881           
  Branches     1311     1311           
=======================================
  Hits         8492     8492           
  Misses        240      240           
  Partials      149      149           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@lorenzncode lorenzncode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the apptainer image. The ghcr image is working for me in a quick test.

apptainer pull /tmp/cq-ghcr.sif oras://ghcr.io/cadquery/cadquery-apptainer:aec0cd7759be33c2c923548b895ebe72ba57df58

apptainer exec /tmp/cq-ghcr.sif \
micromamba run -n base python -c '
from cadquery.func import *
box(1, 1, 4).export("out.step")
'
  1. Consider adding /opt/conda/bin to PATH to call python directly?
%environment
    export PATH=/opt/conda/bin:$PATH

apptainer exec /tmp/cq2.sif python ...

  1. Do you want to support cadquery.vis show or only headless?
    Locally this worked for me:
%post
    set -eux
    apt-get update
    apt-get install -y \
          libgl1 \
          libglx-mesa0 \
          libegl1 \
          libgl1-mesa-dri \
          mesa-utils \
          xauth
    rm -rf /var/lib/apt/lists/*
    head -n -1 /opt/environment.yml  > /opt/environment_.yml
   ...
apptainer exec /tmp/cq2.sif python -c '
from cadquery.func import *
from cadquery.vis import show
show(box(1,1,4))
'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants