From f53dd7dbf0e2bff0c686dcf24e99f59a85dabd48 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 --- .github/workflows/test.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..9017ea7 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,25 @@ +--- +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 + uses: coactions/setup-xvfb@v1 + with: + run: script/setup.sh + options: :99.0 + + - name: Run tests + run: cargo test