From bfc2255e4195ae4d7400e7507c0cebcea191df31 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Sat, 27 Jan 2024 08:30:14 +0100 Subject: [PATCH] add test workflow --- .github/workflows/test.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..9fd2e05 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,23 @@ +name: Test +on: + push: + branches: [ main ] + pull_request: + workflow_dispatch: + +jobs: + test: + name: Test + runs-on: ubuntu-20.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev + + - name: Unit Test (Backend) + working-directory: src-tauri + run: cargo test