From fd4488387277294b2785f27a38bd3dcc4f85a765 Mon Sep 17 00:00:00 2001 From: Alice Butcher Date: Thu, 15 Aug 2024 15:33:00 +0100 Subject: [PATCH] tests: fix github test runner --- .github/workflows/main.yml | 9 ++++----- README.md | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2fab90..076bc39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,12 +13,12 @@ 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 latest bash /opt/scripts/run-tests.sh -c ckanext.ldap + run: docker compose run -e COVERALLS_REPO_TOKEN latest bash /opt/scripts/run-tests.sh -c ckanext.ldap test_next: runs-on: ubuntu-latest @@ -28,8 +28,7 @@ jobs: uses: actions/checkout@v3 - name: Build images - run: docker-compose build + run: docker compose build - name: Run tests - run: docker-compose run next bash /opt/scripts/run-tests.sh -c ckanext.ldap - + run: docker compose run next bash /opt/scripts/run-tests.sh -c ckanext.ldap diff --git a/README.md b/README.md index 27b39a3..7c315aa 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ To run the tests can be run against ckan 2.9.x and 2.10.x on Python3: 1. Build the required images: ```shell - docker-compose build + docker compose build ``` 2. Then run the tests. @@ -189,10 +189,10 @@ To run the tests can be run against ckan 2.9.x and 2.10.x on Python3: you change the extension's dependencies. ```shell # run tests against ckan 2.9.x - docker-compose run latest + docker compose run latest # run tests against ckan 2.10.x - docker-compose run next + docker compose run next ```