From bc0b07c8141b3bc9d8b8466b2f7832c79e5c0a15 Mon Sep 17 00:00:00 2001 From: appleb_m Date: Mon, 27 Apr 2026 12:07:53 +0200 Subject: [PATCH] gitea wofkflows: fix aaredb install bug --- .gitea/workflows/action.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 2858b1a9..b89f2ef0 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -41,8 +41,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + pip install pytest pytest-cov pytest-mock pytest-qt - pip install -e . + + pip install \ + --index-url https://${{ secrets.GITEA_USER }}:${{ secrets.GITEA_TOKEN }}@gitea.psi.ch/api/packages/mx/pypi/simple/ \ + --extra-index-url https://pypi.org/simple \ + -e . - name: Run tests with pytest run: | @@ -67,17 +72,6 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.12' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - - pip install pytest pytest-cov pytest-mock pytest-qt - - pip install \ - --index-url https://${{ secrets.GITEA_USER }}:${{ secrets.GITEA_TOKEN }}@gitea.psi.ch/api/packages/mx/pypi/simple/ \ - --extra-index-url https://pypi.org/simple \ - -e . - name: Set Up Python Environment run: |