Skip to content

Commit

Permalink
merge: PR #135 from dev
Browse files Browse the repository at this point in the history
Weekly release 2024-08-20
  • Loading branch information
alycejenni authored Aug 20, 2024
2 parents 9a184a6 + a20ccea commit 3276519
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
```
<!--testing-end-->

0 comments on commit 3276519

Please sign in to comment.