diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml new file mode 100644 index 0000000..9dd15f3 --- /dev/null +++ b/.github/workflows/install.yaml @@ -0,0 +1,28 @@ +name: Install + +on: + - push + - pull_request + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + include: + - os: ubuntu-latest + python-version: "3.7" + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install python-evdev + run: | + python -m pip install . diff --git a/requirements-dev.txt b/requirements-dev.txt index c7eb2f2..d8aecc7 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,3 +4,4 @@ sphinx-copybutton ~= 0.5.0 bump2version sphinx_rtd_theme twine +ruff