Skip to content
Merged
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
13 changes: 8 additions & 5 deletions .github/workflows/cI.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bash Scripts CI

# This workflow runs every time code is pushed to main
# This workflow runs every time code is pushed to main branch
# and ever time a pull request targets main
on:

Expand All @@ -23,20 +23,23 @@ jobs:
# Step 2: Make all test scripts executable
# The runner is a fresh machine
# it doesn't inherit permission from laptop
run: chmod +x scripts/*.sh

# Make script executable
- name: Make scripts excutable
run: chmod +x *.sh

# Step 3: Run disk-check.sh and check its exit code
# If the exit code is 0, the test passes
# If the exit code is not 0, the test fails
- name: Run disk-check
run: bash disk-check.sh
run: bash disk-check.sh

# Step 4: Run key-hunter
- name: Run key-hunter
run: bash key-hunter.sh
run: bash key-hunter.sh

# Step 5: Run ram-check
- name: Run ram-check
run: bash ram-check.sh
run: bash ram-check.sh


Loading