Skip to content

Commit

Permalink
- Expunge deprecated docker-compose in favor of docker compose.
Browse files Browse the repository at this point in the history
  • Loading branch information
moseshll committed Feb 19, 2024
1 parent d90a02f commit 1183807
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
submodules: true

- name: Build docker image
run: docker-compose --file docker-compose.test.yml build
run: docker compose --file docker-compose.test.yml build

- name: Run tests
run: docker-compose --file docker-compose.test.yml run sut
run: docker compose --file docker-compose.test.yml run sut
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ A web app and suite of tools for performing copyright review projects.
```
git submodule init
git submodule update
docker-compose build
docker-compose up -d mariadb
docker-compose run --rm test
docker compose build
docker compose up -d mariadb
docker compose run --rm test
```

## Running Tests with Coverage
Expand Down
2 changes: 1 addition & 1 deletion scripts/cover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# This script doesn't do the wait-for song and dance so if there are sporadic database errors,
# try making sure the databases are fully up and running again.
docker-compose run --rm test cover -ignore_re '^t/' +ignore_re '^post' -test -make 'prove -r t/; exit $?'
docker compose run --rm test cover -ignore_re '^t/' +ignore_re '^post' -test -make 'prove -r t/; exit $?'

0 comments on commit 1183807

Please sign in to comment.