From 93b2290c73035bb3b60ec1fffa2423fc9c5ca986 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..616dc0e --- /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/test_env.sh + + - name: Run tests + run: cargo test