Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Integration Tests

on:
push:
pull_request:

jobs:
integration:
runs-on: ubuntu-latest

strategy:
matrix:
container:
- ubuntu:22.04
- kalilinux/kali-rolling

container:
image: ${{ matrix.container }}

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies
run: |
apt-get update
apt-get install -y sudo bash git

- name: Run integration test
run: |
chmod +x tests/integration/ubuntu.test.sh
bash tests/integration/ubuntu.test.sh
15 changes: 15 additions & 0 deletions tests/integration/ubuntu.test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -e

echo "Running Ubuntu integration test"


bash scripts/linux/ubuntu.sh git


if git --version > /dev/null 2>&1; then
echo "Git installed successfully"
else
echo "Git installation failed"
exit 1
fi
Loading