Skip to content

Refactor: Improve code quality and readability of UFW updater script #19

Refactor: Improve code quality and readability of UFW updater script

Refactor: Improve code quality and readability of UFW updater script #19

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up BATS
run: |
sudo apt-get update
sudo apt-get install -y bats
- name: Set up test environment
run: |
sudo apt-get install -y ufw curl
- name: Run tests
run: |
cd tests
sudo bats cloudflare_ufw_updater.bats