Skip to content

Commit 65a2de7

Browse files
committed
we now have to run composer before we can use anything (this would've happened later anyway)
1 parent 30eb46c commit 65a2de7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v3
19+
- name: Install composer dependencies packages
20+
run: docker exec hashtopolis-server-dev composer install --working-dir=/var/www/html/
1921
- name: Start Hashtopolis server
2022
uses: ./.github/actions/start-hashtopolis
2123
- name: Give Apache permissions on necessary directories # for the tests, only src/files and src/inc/utils/locks seem necessary
2224
run: docker exec -u root hashtopolis-server-dev bash -c "chown -R www-data:www-data /var/www/html/src && chmod -R g+w /var/www/html/src"
2325
- name: Run test suite
2426
run: docker exec hashtopolis-server-dev php /var/www/html/ci/run.php -vmaster
25-
- name: Install composer dependencies packages
26-
run: docker exec hashtopolis-server-dev composer install --working-dir=/var/www/html/
2727
- name: Test with pytest
2828
run: docker exec hashtopolis-server-dev pytest /var/www/html/ci/apiv2
2929
- name: Test if pytest is removing all test objects
@@ -33,4 +33,4 @@ jobs:
3333
run: docker logs hashtopolis-server-dev
3434
- name: Show installed files tree in /var/www/html
3535
if: ${{ always() }}
36-
run: docker exec hashtopolis-server-dev find /var/www/html
36+
run: docker exec hashtopolis-server-dev find /var/www/html

0 commit comments

Comments
 (0)