From 75d13266d3dfb92be017d00b13c6e2efc4da9386 Mon Sep 17 00:00:00 2001 From: Adrien Mannocci Date: Sun, 16 Jul 2023 14:54:38 +0200 Subject: [PATCH] ci: add github actions integration (#3) Signed-off-by: amannocci --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d69d455 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +--- + +name: CI + +on: + pull_request: + push: + branches: + - main + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Task + uses: arduino/setup-task@v1 + - name: Install dependencies + run: sudo apt install -y bats + - name: Run tests + run: task test