Skip to content

Build images

Build images #9

name: Build Apptainer image with CQ using micromamba
on:
pull_request:
push:
branches: [master, main]
jobs:
build-test-container:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
container:
image: ghcr.io/apptainer/apptainer:1.4.1
options: --privileged
name: Build Container
steps:
- name: Check out code for the container builds
uses: actions/checkout@v4
- name: Build Container
run: |
apptainer build cq.sif images/cq.def
apptainer run cq.sif pytest tests/
- name: Test Container
run: |
apptainer run cq.sif pytest tests/