Skip to content

Fix build

Fix build #200

on:
push:
pull_request:
name: build_singularity
jobs:
build_singularity:
runs-on: ubuntu-latest
strategy:
matrix:
singularity_version:
- '3.7.4'
container:
image: quay.io/singularity/singularity:v${{ matrix.singularity_version }}
options: --privileged
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Show singularity version
run: singularity version
- name: Build container
run: ./scripts/build_singularity_container.sh
- name: Test container
run: singularity test beautier.sif
- name: Show help of container
run: singularity run-help beautier.sif
- name: Run container
run: ./scripts/run_container.sh