From a5cbc63e0d72e59ce0b0f7da91b33bf297d7f47a Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Sat, 27 Nov 2021 21:20:13 -0500 Subject: [PATCH] Linters no longer need Diffuse to be installed --- .github/workflows/ci.yml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32b37b1..90e0816 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,9 +21,25 @@ jobs: - name: Install dependencies 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 + - 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 uses: BSFishy/meson-build@v1.0.3 with: @@ -35,21 +51,6 @@ jobs: with: 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: runs-on: ubuntu-latest container: