|
5 | 5 |
|
6 | 6 | jobs: |
7 | 7 | integration_tests: |
8 | | - # run tests with docker-compose |
| 8 | + # run tests with docker compose |
9 | 9 | name: User Interface Tests |
10 | 10 | runs-on: ubuntu-latest |
11 | 11 | strategy: |
@@ -61,34 +61,34 @@ jobs: |
61 | 61 | # phased startup with MySQL and RabbitMQ so we can use the exit code from integrationtest container |
62 | 62 | - name: Start Dojo MySQL + RabbitMQ |
63 | 63 | if: matrix.profile == 'mysql-rabbitmq' |
64 | | - run: docker-compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps -d mysql nginx celerybeat celeryworker mailhog uwsgi rabbitmq |
| 64 | + run: docker compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps -d mysql nginx celerybeat celeryworker mailhog uwsgi rabbitmq |
65 | 65 | env: |
66 | 66 | DJANGO_VERSION: ${{ matrix.os }} |
67 | 67 | NGINX_VERSION: ${{ matrix.os }} |
68 | 68 |
|
69 | 69 | - name: Start Dojo PostgreSQL + Redis |
70 | 70 | if: matrix.profile == 'postgres-redis' |
71 | | - run: docker-compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps -d postgres nginx celerybeat celeryworker mailhog uwsgi redis |
| 71 | + run: docker compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps -d postgres nginx celerybeat celeryworker mailhog uwsgi redis |
72 | 72 | env: |
73 | 73 | DJANGO_VERSION: ${{ matrix.os }} |
74 | 74 | NGINX_VERSION: ${{ matrix.os }} |
75 | 75 |
|
76 | 76 | - name: Initialize |
77 | | - run: docker-compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps --exit-code-from initializer initializer |
| 77 | + run: docker compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps --exit-code-from initializer initializer |
78 | 78 | env: |
79 | 79 | DJANGO_VERSION: ${{ matrix.os }} |
80 | 80 | NGINX_VERSION: ${{ matrix.os }} |
81 | 81 |
|
82 | 82 | - name: Integration tests |
83 | | - run: docker-compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps --exit-code-from integration-tests integration-tests |
| 83 | + run: docker compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env up --no-deps --exit-code-from integration-tests integration-tests |
84 | 84 | env: |
85 | 85 | DD_INTEGRATION_TEST_FILENAME: ${{ matrix.test-case }} |
86 | 86 | INTEGRATION_TESTS_VERSION: debian |
87 | 87 |
|
88 | 88 | - name: Logs |
89 | 89 | if: always() |
90 | | - run: docker-compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env logs --tail="2500" |
| 90 | + run: docker compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env logs --tail="2500" |
91 | 91 |
|
92 | 92 | - name: Shutdown |
93 | 93 | if: always() |
94 | | - run: docker-compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env down |
| 94 | + run: docker compose --profile ${{ matrix.profile }} --env-file ./docker/environments/${{ matrix.profile }}.env down |
0 commit comments