From 2f5e26f97e5eb53d60a86d1f9608a64559dca5fd Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Thu, 15 Aug 2024 15:33:14 +0100 Subject: [PATCH] tests: fix github test runner --- .github/workflows/main.yml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index df0dbd9..f6769ee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,9 +13,9 @@ jobs: uses: actions/checkout@v3 - name: Build images - run: docker-compose build + run: docker compose build - name: Run tests env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - run: docker-compose run -e COVERALLS_REPO_TOKEN ckan bash /opt/scripts/run-tests.sh -c ckanext.query_dois + run: docker compose run -e COVERALLS_REPO_TOKEN ckan bash /opt/scripts/run-tests.sh -c ckanext.query_dois diff --git a/README.md b/README.md index eed571a..75cfdd8 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ To run the tests against ckan 2.9.x on Python3: 1. Build the required images: ```shell - docker-compose build + docker compose build ``` 2. Then run the tests. @@ -135,7 +135,7 @@ To run the tests against ckan 2.9.x on Python3: configuration, so you should only need to rebuild the ckan image if you change the extension's dependencies. ```shell - docker-compose run ckan + docker compose run ckan ```