Skip to content

Usability test

Usability test #9

Workflow file for this run

name: Usability test
on:
schedule:
# <min> <hr> <day> <mth> <weekday>
- cron: '0 0 1 * *'
workflow_dispatch:
branches: [ main ]
push:
branches: [ main ]
jobs:
container_test:
name: Docker build test
runs-on: ubuntu-20.04
steps:
- name: ⏹️ Cancel previous runs
uses: pierreraffa/cancel-previous-runs-action@1.11
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
ref: 'artifact'
- name: 🌲 Environment check
run: ls -l
- name: ⚫ Set up QEMU
uses: docker/setup-qemu-action@v3
- name: 🐳 Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: 🛠️ Build
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
load: true
exec_test:
name: Runtime test
runs-on: ubuntu-20.04
steps:
- name: ⏹️ Cancel previous runs
uses: pierreraffa/cancel-previous-runs-action@1.11
- name: ⬇️ Checkout repository
uses: actions/checkout@v4
- name: ⚙️ Environment setup
run: sudo apt update -y && sudo apt install -y build-essential git bc software-properties-common
- name: ✴️ Run small test
run: make small