forked from statamic/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Duncan McClean <[email protected]> Co-authored-by: John Koster <[email protected]> Co-authored-by: Jason Varga <[email protected]> Co-authored-by: Peiman Nourani <[email protected]> Co-authored-by: duncanmcclean <[email protected]> Co-authored-by: Jack Sleight <[email protected]> Co-authored-by: Emmanuel Beauchamps <[email protected]> Co-authored-by: Simon Schweißinger <[email protected]> Co-authored-by: Michael Aerni <[email protected]> Co-authored-by: Arthur Perton <[email protected]> Co-authored-by: Daniel Kaufmann <[email protected]> Co-authored-by: Ryan Mitchell <[email protected]> Co-authored-by: Jesse Leite <[email protected]> Co-authored-by: jasonvarga <[email protected]> Co-authored-by: Jack McDade <[email protected]> Co-authored-by: PatrickJunod <[email protected]> Co-authored-by: Jim Blue <[email protected]> Co-authored-by: jimblue <[email protected]> Co-authored-by: Lukas <[email protected]> Co-authored-by: Rob de Kort <[email protected]> Co-authored-by: Ammonite Digital <[email protected]> Co-authored-by: Danique Wijnalda <[email protected]> Co-authored-by: Tin <[email protected]> Co-authored-by: Marty Friedel <[email protected]> Co-authored-by: Potsky <[email protected]> Co-authored-by: Julius Kiekbusch <[email protected]> Co-authored-by: Daniel Weaver <[email protected]> Co-authored-by: Erin Dalzell <[email protected]> Co-authored-by: Roy Duineveld <[email protected]> Co-authored-by: Morten Bak <[email protected]> Co-authored-by: Morten Bak <[email protected]> Co-authored-by: Aaron Bushnell <[email protected]> Co-authored-by: Lakkes Ra <[email protected]> Co-authored-by: Espen Grimsgaard <[email protected]> Co-authored-by: Rob Gabaree <[email protected]> Co-authored-by: Oliver Mesieh <[email protected]> Co-authored-by: Rias <[email protected]>
- Loading branch information
1 parent
834de37
commit 3dd5fba
Showing
1,039 changed files
with
25,210 additions
and
12,205 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ name: Run Tests | |
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- '*.x' | ||
pull_request: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
@@ -13,34 +16,32 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
php: [8.0, 8.1, 8.2, 8.3] | ||
laravel: [9.*, 10.*] | ||
php: [8.1, 8.2, 8.3] | ||
laravel: [10.*, 11.*] | ||
stability: [prefer-lowest, prefer-stable] | ||
os: [ubuntu-latest] | ||
include: | ||
- os: windows-latest | ||
php: 8.1 | ||
laravel: 9.* | ||
php: 8.3 | ||
laravel: 10.* | ||
stability: prefer-stable | ||
- os: windows-latest | ||
php: 8.1 | ||
laravel: 10.* | ||
php: 8.3 | ||
laravel: 11.* | ||
stability: prefer-stable | ||
exclude: | ||
- php: 8.0 | ||
laravel: 10.* | ||
- php: 8.3 | ||
laravel: 9.* | ||
- php: 8.1 | ||
laravel: 11.* | ||
|
||
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
uses: tj-actions/changed-files@v44 | ||
with: | ||
files: | | ||
config | ||
|
@@ -77,11 +78,11 @@ jobs: | |
if: steps.should-run-tests.outputs.result == 'true' | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo | ||
extensions: fileinfo, exif, gd, pdo, sqlite, pdo_sqlite | ||
coverage: none | ||
|
||
- name: Install dependencies | ||
uses: nick-invision/retry@v2 | ||
uses: nick-invision/retry@v3 | ||
if: steps.should-run-tests.outputs.result == 'true' | ||
with: | ||
timeout_minutes: 5 | ||
|
@@ -106,11 +107,11 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v42 | ||
uses: tj-actions/changed-files@v44 | ||
with: | ||
files: | | ||
**.{js,vue,ts} | ||
|
@@ -124,6 +125,11 @@ jobs: | |
echo "result=true" >> $GITHUB_OUTPUT | ||
echo "result=true" >> $env:GITHUB_OUTPUT | ||
- name: Use Node.js 16.13.0 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16.13.0 | ||
|
||
- name: Install required npm version | ||
if: steps.should-run-tests.outputs.result == 'true' | ||
run: npm -g install [email protected] | ||
|
@@ -142,12 +148,13 @@ jobs: | |
needs: [php-tests, js-tests] | ||
if: always() | ||
steps: | ||
- uses: technote-space/workflow-conclusion-action@v1 | ||
- uses: technote-space/workflow-conclusion-action@v3 | ||
- name: Send Slack notification | ||
uses: 8398a7/action-slack@v2 | ||
if: env.WORKFLOW_CONCLUSION == 'failure' | ||
uses: 8398a7/action-slack@v3 | ||
if: env.WORKFLOW_CONCLUSION == 'failure' && github.event_name == 'schedule' | ||
with: | ||
status: failure | ||
fields: repo,message,commit,author,action,eventName,ref,workflow | ||
author_name: ${{ github.actor }} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} | ||
|
Oops, something went wrong.