BISON-5 Add GitHub Actions workflows for linting and testing#32
Open
thinkstylestudio wants to merge 3 commits into
Open
BISON-5 Add GitHub Actions workflows for linting and testing#32thinkstylestudio wants to merge 3 commits into
thinkstylestudio wants to merge 3 commits into
Conversation
[Release 1]
Introduce separate CI workflows that mirror local Lando tooling: - Lint runs Duster (TLint, PHPCS, PHP CS Fixer, Pint) - Tests install dependencies, migrate the SQLite testing database, and run Pest via artisan test Both workflows run on pushes and pull requests targeting main and develop. Co-authored-by: Theron Smith <theron+github@thinkstylestudio.com>
dpellenwood
approved these changes
May 22, 2026
| - name: Setup PHP | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: '8.3' |
There was a problem hiding this comment.
I'd suggest we create a var for the PHP version so when changing it doesn't need to be updated across a bunch of files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #6
Summary
Adds two GitHub Actions workflows to automate quality checks on every push and pull request to
mainanddevelop.Workflows
Lint (
.github/workflows/lint.yml)./vendor/bin/duster lint(TLint, PHP_CodeSniffer, PHP CS Fixer, and Pint), matching the existinglando dusttoolingTests (
.github/workflows/tests.yml).env, app key, SQLite database file)php artisan migrate --env=testingbeforephp artisan test, matching the existinglando testtoolingBoth workflows cache Composer dependencies to keep CI runs fast.