+14
-14
.builds/arch.yml
+14
-14
.builds/arch.yml
···
4
4
- https://aur.archlinux.org/python-xdg-base-dirs.git
5
5
- https://aur.archlinux.org/python-dacite.git
6
6
packages:
7
+
- ruff
8
+
- mypy
7
9
- python-pytest
8
10
tasks:
9
-
- xdg-base-dirs: |
10
-
cd python-xdg-base-dirs
11
-
makepkg -si --noconfirm
12
-
- dacite: |
13
-
cd python-dacite
14
-
makepkg -si --noconfirm
15
-
- makepkg: |
16
-
cd qbpm/contrib
17
-
sed -i 's|^source.*|source=("git+file:///home/build/qbpm")|' PKGBUILD
18
-
sudo pacman -Sy
19
-
makepkg -si --noconfirm
20
-
- pytest: |
21
-
cd qbpm
22
-
pytest tests
11
+
- format: ruff format --check qbpm
12
+
- lint: ruff check qbpm
13
+
- deps: |
14
+
makepkg -si --noconfirm --dir python-xdg-base-dirs
15
+
makepkg -si --noconfirm --dir python-dacite
16
+
mkdir build
17
+
cp qbpm/contrib/PKGBUILD build
18
+
sed -i 's|^source.*|source=("git+file:///home/build/qbpm")|' build/PKGBUILD
19
+
makepkg -s --noconfirm --dir build
20
+
- types: mypy qbpm
21
+
- tests: pytest qbpm/tests
22
+
- install: makepkg -i --noconfirm --noextract --dir build
23
23
- run: |
24
24
mkdir -p ~/.config/qutebrowser
25
25
touch ~/.config/qutebrowser/config.py
+7
-12
.builds/nix.yml
+7
-12
.builds/nix.yml
···
4
4
environment:
5
5
NIX_CONFIG: "experimental-features = nix-command flakes"
6
6
tasks:
7
-
- format: |
8
-
cd qbpm
9
-
nix develop --quiet -c ruff format --check
10
-
- ruff: |
11
-
cd qbpm
12
-
nix develop -c ruff check
13
-
- mypy: |
14
-
cd qbpm
15
-
nix develop -c mypy src tests
16
-
- build: |
17
-
cd qbpm
18
-
nix build --quiet
7
+
- build: nix build ./qbpm
8
+
- install: nix profile install ./qbpm
9
+
- run: |
10
+
mkdir -p ~/.config/qutebrowser
11
+
touch ~/.config/qutebrowser/config.py
12
+
qbpm new profile
13
+
qbpm list | grep profile