Configure Dependabot #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |