From 427e9dcadda68a72f16fe83a03cec2d3c2ed19c6 Mon Sep 17 00:00:00 2001 From: Alex Skrenchuk Date: Mon, 23 Sep 2024 12:18:24 -0700 Subject: [PATCH] use docker compose instead of docker-compose --- .github/workflows/ruby-unit-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby-unit-tests.yml b/.github/workflows/ruby-unit-tests.yml index 1e92471e..1b1f040d 100644 --- a/.github/workflows/ruby-unit-tests.yml +++ b/.github/workflows/ruby-unit-tests.yml @@ -17,14 +17,14 @@ jobs: run: ./test/solr/generate_ncbo_configsets.sh - name: create config.rb file run: cp config/config.test.rb config/config.rb - - name: Build docker-compose - run: docker-compose --profile 4store build #profile flag is set in order to build all containers in this step + - name: Build docker compose + run: docker compose --profile 4store build #profile flag is set in order to build all containers in this step - name: Run unit tests # unit tests are run inside a container # http://docs.codecov.io/docs/testing-with-docker run: | ci_env=`bash <(curl -s https://codecov.io/env)` - docker-compose run $ci_env -e CI --rm ${{ matrix.backend }} bundle exec rake test TESTOPTS='-v' + docker compose run $ci_env -e CI --rm ${{ matrix.backend }} bundle exec rake test TESTOPTS='-v' - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 with: