diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f386b48..6db129f2 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.nhm + run: docker compose run -e COVERALLS_REPO_TOKEN ckan bash /opt/scripts/run-tests.sh -c ckanext.nhm diff --git a/README.md b/README.md index 18dc59c2..42c344a7 100755 --- a/README.md +++ b/README.md @@ -170,7 +170,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. @@ -178,7 +178,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 ```