Skip to content

Commit

Permalink
Update docker-compose to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
paul121 committed Jan 8, 2025
1 parent a3feb8c commit ee3d269
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- name: Create docker-compose.yml
run: curl https://raw.githubusercontent.com/farmOS/farmOS/3.x/docker/docker-compose.development.yml -o docker-compose.yml
- name: Start containers
run: docker-compose up -d && sleep 5
run: docker compose up -d && sleep 5
- name: Install farmOS
run: |
docker-compose exec -u www-data -T www drush site-install -y --db-url=pgsql://farm:farm@db/farm --account-pass=admin
docker-compose exec -u www-data -T www drush en farm_api_default_consumer -y
docker-compose exec -u www-data -T www drush user-create tester --password test
docker-compose exec -u www-data -T www drush user-add-role farm_manager tester
docker compose exec -u www-data -T www drush site-install -y --db-url=pgsql://farm:farm@db/farm --account-pass=admin
docker compose exec -u www-data -T www drush en farm_api_default_consumer -y
docker compose exec -u www-data -T www drush user-create tester --password test
docker compose exec -u www-data -T www drush user-add-role farm_manager tester
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
Expand Down

0 comments on commit ee3d269

Please sign in to comment.