-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (33 loc) · 1.06 KB
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: check
on: [ push, pull_request ]
jobs:
config:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10' ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
pip install wheel xcffib mypy psutil
pip install --no-cache --upgrade --no-build-isolation cairocffi
pip install --no-build-isolation git+https://github.com/qtile/qtile.git@master
pip install git+https://github.com/elParaguayo/qtile-extras@main
- run: qtile --version
- name: "cmd: mypy"
if: success() || failure()
run: mypy config.py
- name: "cmd: python"
if: success() || failure()
run: python config.py
- name: "cmd: qtile check"
if: success() || failure()
run: qtile check -c ./config.py