Skip to content
Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Set user input permissions
run: sudo usermod -a -G input $USER

- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.8.2'
cabal-version: '3.0'

- name: Install libevdev
run: sudo apt install -y libevdev-dev

Expand All @@ -40,4 +44,6 @@ jobs:
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
run: |
cabal build test
find . -name test -type f -executable -exec sudo {} \;