mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-06 00:12:35 +00:00
#591 - tests
This commit is contained in:
2
.github/workflows/code-quality.yml
vendored
2
.github/workflows/code-quality.yml
vendored
@ -4,9 +4,11 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 2.x
|
||||
- 3.x
|
||||
pull_request:
|
||||
branches:
|
||||
- 2.x
|
||||
- 3.x
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
1
.github/workflows/code-style.yml
vendored
1
.github/workflows/code-style.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
- main
|
||||
- 1.x
|
||||
- 2.x
|
||||
- 3.x
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
- main
|
||||
- 1.x
|
||||
- 2.x
|
||||
- 3.x
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
@ -16,6 +17,7 @@ jobs:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
php: [ 8.4 ]
|
||||
node-version: [ "20.x" ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -44,5 +46,16 @@ jobs:
|
||||
- name: Set up the .env file
|
||||
run: touch .env
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20.x"
|
||||
|
||||
- name: Install NPM Dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build assets
|
||||
run: npm run build
|
||||
|
||||
- name: Run test suite
|
||||
run: php artisan test
|
||||
|
Reference in New Issue
Block a user