Skip to content

Commit

Permalink
Merge pull request #74 from k2nr/bquorning/docker-compose
Browse files Browse the repository at this point in the history
Replace `docker-compose` with `docker compose`
  • Loading branch information
bquorning authored Aug 13, 2024
2 parents 6c43b21 + 70b48a2 commit bc993d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rails-main-branch-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker-compose run test
- run: docker compose run test
env:
RUBY_VERSION: "3.3"
AR_VERSION: "main"
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- {activerecord-version: "5.2", ruby-version: "2.7"}
steps:
- uses: actions/checkout@v4
- run: docker-compose run test
- run: docker compose run test
env:
RUBY_VERSION: ${{ matrix.ruby-version }}
AR_VERSION: ${{ matrix.activerecord-version }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,16 @@ and your join class must have `belongs_to` main classes defined as shown in the
Just run the below command to test with all supported DB engines.

```
$ docker-compose run test
$ docker compose run test
```

Or run with a specific ActiveRecord version

```
$ docker-compose run -e AR_VERSION=6.1 test
$ docker compose run -e AR_VERSION=6.1 test
```

Or run tests locally, without docker-compose
Or run tests locally, without docker compose

```
$ AR_VERSION=6.1 bundle update && AR_VERSION=6.1 bundle exec rake test
Expand Down

0 comments on commit bc993d2

Please sign in to comment.