Skip to content

Commit

Permalink
Change docker-compose to docker compose in test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Oct 8, 2024
1 parent 304b452 commit 03a7dd6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
continue-on-error: true

- name: Pull docker images
run: docker-compose -f docker-compose.test.yml pull
run: docker compose -f docker-compose.test.yml pull

- uses: jpribyl/[email protected]
continue-on-error: true
Expand All @@ -52,10 +52,10 @@ jobs:
run: make -C docker

- name: Build images
run: docker-compose -f docker-compose.test.yml build db test_runner
run: docker compose -f docker-compose.test.yml build db test_runner

- name: Run tests
run: docker-compose -f docker-compose.test.yml run --rm test_runner python manage.py test --noinput --settings=freesound.test_settings
run: docker compose -f docker-compose.test.yml run --rm test_runner python manage.py test --noinput --settings=freesound.test_settings

- name: Notify success
uses: voxmedia/github-action-slack-notify-build@v1
Expand Down
2 changes: 1 addition & 1 deletion sounds/management/commands/test_color_schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from utils.audioprocessing import color_schemes


# docker-compose run --rm web python manage.py test_color_schemes 415154,415144,413973,402737,403343,194761
# docker compose run --rm web python manage.py test_color_schemes 415154,415144,413973,402737,403343,194761


class Command(BaseCommand):
Expand Down
2 changes: 1 addition & 1 deletion tagrecommendation/tagrecommendation_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# all tag assingment information from freesound. Once this file exists and has some data, the
# "update_tagrecommendation_data.py" script can be run and will generate the following files:
# (if running in Docker environment, you can run the script like:
# docker-compose run tagrecommendation bash -c "cd /code; python update_tagrecommendation_data.py"
# docker compose run tagrecommendation bash -c "cd /code; python update_tagrecommendation_data.py"
#
# For every class used:
# [[DATABASE]]_[[CLASSNAME]]_SIMILARITY_MATRIX_cosine_SUBSET.npy
Expand Down

0 comments on commit 03a7dd6

Please sign in to comment.