mirror of
https://github.com/filegator/filegator.git
synced 2025-08-02 23:27:44 +02:00
cont
This commit is contained in:
6
.github/workflows/nodejs.yml
vendored
6
.github/workflows/nodejs.yml
vendored
@@ -12,12 +12,16 @@ jobs:
|
|||||||
node-version: [10.x, 12.x]
|
node-version: [10.x, 12.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: npm install, build, and test
|
- name: npm install, build, and test
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run lint
|
npm run lint
|
||||||
|
npm run test:e2e
|
||||||
|
19
.github/workflows/php.yml
vendored
19
.github/workflows/php.yml
vendored
@@ -7,17 +7,24 @@ jobs:
|
|||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
strategy:
|
||||||
- uses: actions/checkout@v1
|
matrix:
|
||||||
|
php-version: ['7.1', '7.2', '7.3', '7.4']
|
||||||
|
|
||||||
- name: Validate composer.json and composer.lock
|
steps:
|
||||||
run: composer validate
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Setup PHP ${{ matrix.php-version }}
|
||||||
|
uses: shivammathur/setup-php@v1
|
||||||
|
with:
|
||||||
|
php-version: ${{ matrix.php-version }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction
|
run: composer install --no-interaction
|
||||||
|
|
||||||
- name: Copy configuration.php
|
- name: Copy configuration.php
|
||||||
run: cp configuration_sample.php configuration.php
|
run: cp configuration_sample.php configuration.php
|
||||||
|
|
||||||
- name: Execute tests
|
- name: Execute tests
|
||||||
run: vendor/bin/phpunit
|
run: vendor/bin/phpunit
|
||||||
|
Reference in New Issue
Block a user