Skip to content

test_install

test_install #439

Workflow file for this run

name: test_install
on:
push: {}
schedule:
- cron: "0 0 * * 0"
jobs:
test_install:
runs-on: ubuntu-latest
container:
image: ubuntu:23.04
env:
DEBIAN_FRONTEND: noninteractive
steps:
- name: debug info
run: |
cat /etc/lsb-release
- name: update and install pre-reqs
run: |
apt-get update
apt-get -y install git ansible sudo bzip2
- name: setup user
run: |
adduser --disabled-password --quiet --gecos '' tester
su - tester -c id
su - tester -c "mkdir -p /home/tester/Downloads"
- name: checkout
uses: actions/checkout@v3
- name: setup
run: >
cd $GITHUB_WORKSPACE && ansible-playbook -e in_container=true workstation.yml --extra-vars 'git_name="Testy McTestface" username=tester git_email="testy@mctestface.com"'
- name: check
run: |
su - tester -c "git config --list"
su - tester -c "python --version"
su - tester -c "clamscan --version"
shell: bash