Skip to content

CI: Add AM test suite #39

CI: Add AM test suite

CI: Add AM test suite #39

Workflow file for this run

name: "AM test suite 🧪"
env:
TERM: xterm
on:
workflow_dispatch:
push:
branches: '**'
# paths:
# - quickget
pull_request:
branches: '**'
# paths:
# - quickget
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# t:
# name: t
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - name: t
# run: |
# printf '\t...\n\n'
# printf '\n\n\t...\n\n'
# echo hello
# printf '\n\n\tDONE\n\n'
am:
name: Install AM 📝
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install AM
run: |
ls -al .github/workflows
printf '\tSetting up environment...\n\n'
printf '\n\tCreating directory structure...\n\n'
mkdir -p results /usr/local/bin
# printf '\n\tUpgrading ubuntu host...\n\n'
# sudo apt update && sudo apt upgrade
printf '\n\tInstalling dependencies...\n\n'
sudo apt install -y wget curl zsync 2> /dev/null
printf '\n\tMaking needed files executable...\n\n'
chmod +x ./INSTALL .github/workflows/test.sh
printf '\n\tInstalling AM...\n\n'
sudo ./INSTALL
printf '\n\n'
echo "Installed version: $(am version)"
printf '\n\tRunning tests...\n\n'
.github/workflows/test.sh
printf '\n\tTest finished succesfully\n\n'