From ff248cc09e10e31a359096cd0083e65b92b81345 Mon Sep 17 00:00:00 2001 From: marwoodandrew Date: Tue, 6 Aug 2024 11:33:30 +1000 Subject: [PATCH] Fix broken test build --- .github/workflows/tests-py38.yml | 16 ++++++---------- .github/workflows/tests.yml | 4 ++-- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests-py38.yml b/.github/workflows/tests-py38.yml index afa63853..30c214b4 100644 --- a/.github/workflows/tests-py38.yml +++ b/.github/workflows/tests-py38.yml @@ -17,20 +17,16 @@ jobs: python-version: 3.8 - name: docker-compose - run: docker-compose -f .actions-docker-compose.yml up -d + run: docker compose -f .actions-docker-compose.yml up -d + + - run: | + sudo apt-get update + sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl - - name: cache pip - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('dev-requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip - ${{ runner.os }}- - name: pip install run: | - python -m pip install --upgrade pip wheel setuptools + python -m pip install --upgrade pip==24.0 wheel setuptools pip install -r dev-requirements.txt - name: flake8 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2427ff76..00208a70 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: python-version: 3.6 - name: docker-compose - run: docker-compose -f .actions-docker-compose.yml up -d + run: docker compose -f .actions-docker-compose.yml up -d - run: | sudo apt-get update @@ -76,4 +76,4 @@ jobs: run: npm run test - name: build - run: npm run build + run: npm run build \ No newline at end of file