Skip to content

Commit fbdbefb

Browse files
authored
Merge pull request #136 from MightyCreak/move-constants-to-config-file
Don't configure any Python file (.in) through Meson
2 parents ae270d9 + 6ab0644 commit fbdbefb

34 files changed

+4114
-3482
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,25 @@ jobs:
2121

2222
- name: Install dependencies
2323
run: |
24-
sudo apt-get -y install libgirepository1.0-dev appstream appstream-util desktop-file-utils gettext
24+
sudo apt-get -y install libgirepository1.0-dev
2525
pip install -r requirements.dev.txt
2626
27+
- name: Flake8
28+
run: flake8 src/ po/
29+
30+
- name: MyPy
31+
run: mypy src/ po/
32+
33+
meson-build-test:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v2
37+
- uses: actions/setup-python@v2
38+
39+
- name: Install dependencies
40+
run: |
41+
sudo apt-get -y install appstream appstream-util desktop-file-utils gettext
42+
2743
- name: Meson build
2844
uses: BSFishy/[email protected]
2945
with:
@@ -35,21 +51,6 @@ jobs:
3551
with:
3652
action: test
3753

38-
- name: Meson install
39-
uses: BSFishy/[email protected]
40-
with:
41-
action: install
42-
43-
- name: Flake8
44-
run: |
45-
flake8 /tmp/diffuse/
46-
flake8 po/
47-
48-
- name: MyPy
49-
run: |
50-
mypy /tmp/diffuse/
51-
mypy po/
52-
5354
flatpak-build-test:
5455
runs-on: ubuntu-latest
5556
container:

0 commit comments

Comments
 (0)