Usability test #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
- 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/[email protected] | |
- 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 |