From 33934a6a0d0a24bea8bf825454be56a075fe1f8c Mon Sep 17 00:00:00 2001 From: Marco Cetica Date: Fri, 23 Feb 2024 11:48:54 +0100 Subject: [PATCH] Added gitea CI --- .gitea/workflows/backup.sh.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/backup.sh.yml diff --git a/.gitea/workflows/backup.sh.yml b/.gitea/workflows/backup.sh.yml new file mode 100644 index 0000000..34929e0 --- /dev/null +++ b/.gitea/workflows/backup.sh.yml @@ -0,0 +1,24 @@ +name: backup.sh +on: + push: + branches: [master] + workflow_dispatch: + +jobs: + bash: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + apt update && apt -y install rsync tar openssl shellcheck + - name: Run ShellCheck + run: | + shellcheck backup.sh + shellcheck tests.sh + - name: Install using Makefile + run: | + make install + - name: Run unit tests + run: | + ./tests.sh I_HAVE_READ_THE_HELPER