Skip to content

Commit

Permalink
Use Composer version installed in Docker container to install site. #9
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-cox committed Oct 30, 2020
1 parent f01f108 commit ec00a4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Create LocalGovDrupal project
run: composer create-project --stability dev localgovdrupal/localgov-project html

- name: Start Docker environment
run: docker-compose up -d

- name: Create LocalGov Drupal project
run: docker exec -u docker -t drupal /usr/local/bin/composer create-project --stability dev localgovdrupal/localgov-project /var/www/html

- name: Run tests
run: ./run-tests.sh
shell: bash
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Something like:
```bash
git clone git@github.com:localgovdrupal/drupal-container.git localgovdrupal-testing
cd localgovdrupal-testing
composer create-project --stability dev localgovdrupal/localgov-project html
docker-compose up -d
docker exec -u docker -t drupal /usr/local/bin/composer create-project --stability dev localgovdrupal/localgov-project /var/www/html
./run-tests.sh
docker-compose stop
```

0 comments on commit ec00a4d

Please sign in to comment.