From c16086eefbcc81934b07e4944f802be05058c690 Mon Sep 17 00:00:00 2001 From: Daniel Berg Date: Sat, 11 Nov 2023 10:21:53 +0100 Subject: [PATCH] ci: add test workflow, update scripts --- .github/workflows/test.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..f980377 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,22 @@ +--- +name: 'test' +on: + push: + branches: + - refactor/wm_properties + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install test dependencies + run: sudo apt-get install -y i3-wm gcc gpick xterm + + - name: Setup test environment + run: script/setup.sh + + - name: Run tests + run: cargo test