Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Add support for Multi-touch #40

Add support for Multi-touch

Add support for Multi-touch #40

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: run tests
jobs:
test:
strategy:
matrix:
go-version: ['1.18.x', '1.19.x', '1.20.x']
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup udev device correctly
run: |
sudo modprobe -i uinput
echo KERNEL==\"uinput\", GROUP=\"$USER\", MODE:=\"0666\" | sudo tee /etc/udev/rules.d/99-$USER.rules
sudo udevadm trigger
sudo udevadm info /dev/uinput
- name: Run tests
run: go test -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash)