From 34ed76817ccc770d00b5e550d57a1741398251ed Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Thu, 15 Aug 2024 15:33:26 +0100 Subject: [PATCH] tests: fix github test runner --- .github/workflows/main.yml | 4 ++-- README.md | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6747687..a18c2d9 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.status + run: docker compose run -e COVERALLS_REPO_TOKEN ckan bash /opt/scripts/run-tests.sh -c ckanext.status diff --git a/README.md b/README.md index 0fe63f9..145fbde 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,6 @@ Installing from a `pyproject.toml` in editable mode (i.e. `pip install -e`) requ # Usage - ## Status bar To turn the status bar on, login as a sysadmin and head to the system configuration page. @@ -133,7 +132,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. @@ -141,7 +140,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 ```