From d9e1864fb0e6fa3e791105026fcd44907a417b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Loipf=C3=BChrer?= Date: Tue, 2 Jan 2024 13:34:49 +0100 Subject: [PATCH] ci: small fixes --- .github/workflows/backend.yaml | 8 ++++---- .github/workflows/push_on_master.yaml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/backend.yaml b/.github/workflows/backend.yaml index 88750a70..5ae429c7 100644 --- a/.github/workflows/backend.yaml +++ b/.github/workflows/backend.yaml @@ -12,7 +12,7 @@ jobs: with: python-version: "3.10" - name: Install dependencies - run: pip install '.[dev,test]' + run: pip install -e '.[dev,test]' - name: Analysing the code with pylint run: make pylint @@ -25,7 +25,7 @@ jobs: with: python-version: "3.10" - name: Install dependencies - run: pip install '.[dev,test]' + run: pip install -e '.[dev,test]' - name: Analysing the code with mypy run: make mypy @@ -63,7 +63,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: pip install '.[dev,test]' + run: pip install -e '.[dev,test]' - name: Run all tests run: pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html @@ -76,6 +76,6 @@ jobs: with: python-version: "3.10" - name: Install dependencies - run: pip install '.[dev,test]' + run: pip install -e '.[dev,test]' - name: Check formatting run: make check-format diff --git a/.github/workflows/push_on_master.yaml b/.github/workflows/push_on_master.yaml index 2b1f5397..7c99d36f 100644 --- a/.github/workflows/push_on_master.yaml +++ b/.github/workflows/push_on_master.yaml @@ -56,6 +56,7 @@ jobs: cache-dependency-path: frontend/package-lock.json - name: Install dependencies run: npm ci + working-directory: frontend - name: Build API Image id: build-api-image