Linters no longer need Diffuse to be installed
This commit is contained in:
parent
70b1bdbb9f
commit
a5cbc63e0d
|
@ -21,9 +21,25 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -y install libgirepository1.0-dev appstream appstream-util desktop-file-utils gettext
|
sudo apt-get -y install libgirepository1.0-dev
|
||||||
pip install -r requirements.dev.txt
|
pip install -r requirements.dev.txt
|
||||||
|
|
||||||
|
- name: Flake8
|
||||||
|
run: flake8 src/ po/
|
||||||
|
|
||||||
|
- name: MyPy
|
||||||
|
run: mypy src/ po/
|
||||||
|
|
||||||
|
meson-build-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get -y install appstream appstream-util desktop-file-utils gettext
|
||||||
|
|
||||||
- name: Meson build
|
- name: Meson build
|
||||||
uses: BSFishy/meson-build@v1.0.3
|
uses: BSFishy/meson-build@v1.0.3
|
||||||
with:
|
with:
|
||||||
|
@ -35,21 +51,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
action: test
|
action: test
|
||||||
|
|
||||||
- name: Meson install
|
|
||||||
uses: BSFishy/meson-build@v1.0.3
|
|
||||||
with:
|
|
||||||
action: install
|
|
||||||
|
|
||||||
- name: Flake8
|
|
||||||
run: |
|
|
||||||
flake8 /tmp/diffuse/
|
|
||||||
flake8 po/
|
|
||||||
|
|
||||||
- name: MyPy
|
|
||||||
run: |
|
|
||||||
mypy /tmp/diffuse/
|
|
||||||
mypy po/
|
|
||||||
|
|
||||||
flatpak-build-test:
|
flatpak-build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
|
|
Loading…
Reference in New Issue