From 827fe1b637442dd96d4dccca89d8895c7dc5a5f3 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Thu, 24 Oct 2024 19:18:32 +0200 Subject: [PATCH] ga paths --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 46a6553..c2d4d68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | pip install pip --upgrade - if grep version ../pyproject.toml | grep -q "dev"; + if grep version pyproject.toml | grep -q "dev"; then pip install https://github.com/fiduswriter/fiduswriter/archive/develop.zip; else pip install https://github.com/fiduswriter/fiduswriter/archive/main.zip; fi @@ -43,8 +43,6 @@ jobs: sudo apt install libjpeg-dev python3-dev python3-pip gettext zlib1g-dev git nodejs build-essential wget https://github.com/jgm/pandoc/releases/download/3.2.1/pandoc-3.2.1-1-amd64.deb -O pandoc.deb sudo dpkg -i pandoc.deb - cd fiduswriter - mv ../ci/configuration.py ./ pip install requests[security] pip install coverage pip install coveralls @@ -53,10 +51,12 @@ jobs: pip install selenium pip install wheel pip install pip --upgrade - if grep version ../pyproject.toml | grep -q "dev"; + if grep version pyproject.toml | grep -q "dev"; then pip install https://github.com/fiduswriter/fiduswriter/archive/develop.zip; else pip install https://github.com/fiduswriter/fiduswriter/archive/main.zip; fi + cd fiduswriter + mv ../ci/configuration.py ./ coverage run $(which fiduswriter) setup --no-static - name: Run pandoc server run: pandoc server &