Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace docker-compose with docker compose #74

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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