Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update php.yml #18

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: CD App
run: cd app

- name: Validate composer.json and composer.lock
run: composer validate --strict
run: cd app && composer validate --strict

- name: Cache Composer packages
id: composer-cache
Expand All @@ -31,14 +30,12 @@ jobs:
${{ runner.os }}-php-

- name: Install dependencies
run: cd composer install --prefer-dist --no-progress
run: cd app && composer install --prefer-dist --no-progress

- name: CD App
run: cd ../


# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

# - name: Run test suite
# run: composer run-script test
# run: cd app && composer run-script test