ci: add test workflow, update scripts #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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: Run tests | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: | | |
script/test_env.sh | |
cargo test |