Skip to content

CI: prepare for testing... #35

CI: prepare for testing...

CI: prepare for testing... #35

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: |
printf '\tSetting up environment...\n\n'
printf '\n\n\tCreating directory structure...\n\n'
mkdir -p results /usr/local/bin
# printf '\n\n\tUpgrading ubuntu host...\n\n'
# sudo apt update && sudo apt upgrade
printf '\n\n\tInstalling dependencies...\n\n'
sudo apt install -y wget curl zsync
printf '\n\n\tMaking INSTALL executable...\n\n'
chmod +x ./INSTALL
printf '\n\n\tInstalling AM...\n\n'
sudo ./INSTALL
printf '\n\n'
echo "Installed version: $(am version)"
printf '\n\n\tRunning tests...\n\n'
chmod +x ./github/workflows/test.sh
./github/workflows/test.sh
printf '\n\n\tTest finished succesfully\n\n'