Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
live627 committed Feb 20, 2025
1 parent 1edf459 commit 7049f9c
Show file tree
Hide file tree
Showing 23 changed files with 1,369 additions and 859 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- 3.0/test
paths:
- '**.php'
- composer.lock
Expand All @@ -13,6 +14,10 @@ jobs:
XDEBUG_MODE: coverage
steps:
- uses: actions/checkout@v4
with:
# Fetch 10 commits or Scrutinizer will throw ("Failed to retrieve commit parents. If you use a shallow git checkout, please checkout at least a depth of one."), see: RepositoryIntrospector at scrutinizer-ci/ocular GitHub repository
# 10 commits is an arbitrary value that is more than 1 commit
fetch-depth: 10
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@
}
},
"require": {
"php": ">=8.0"
"php": ">=8.1"
},
"repositories": [
{
"url": "https://github.com/SimpleMachines/SMF.git",
"type": "vcs"
}
],
"minimum-stability": "dev",
"require-dev": {
"simplemachines/smf": "^2.1",
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^3.0",
"squizlabs/php_codesniffer": "^3.6",
"scrutinizer/ocular": "^1.9"
"scrutinizer/ocular": "^1.9",
"simplemachines/smf": "dev-release-3.0"
},
"scripts": {
"phpunit": "phpunit --testdox",
Expand Down
34 changes: 23 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7049f9c

Please sign in to comment.