Skip to content

Commit

Permalink
use docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
rancoud committed Aug 8, 2024
1 parent bb14ee9 commit cbd124e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
uses: actions/checkout@v4

- name: Pull
run: docker-compose pull --quiet
run: docker compose pull --quiet

- name: Build
run: docker-compose build --build-arg PHPVERSION=${{ matrix.php-version }}
run: docker compose build --build-arg PHPVERSION=${{ matrix.php-version }}

- name: Test
run: docker-compose run -e "PHP_CS_FIXER_IGNORE_ENV=True" lib composer ci
run: docker compose run -e "PHP_CS_FIXER_IGNORE_ENV=True" lib composer ci

- name: Upload coverage
uses: codecov/codecov-action@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,4 @@ composer require predis/predis
```

## How to Dev
`docker-compose build && docker-compose run lib composer ci` for launching tests
`docker compose build && docker compose run lib composer ci` for launching tests

0 comments on commit cbd124e

Please sign in to comment.