1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

Update tests.yml

This commit is contained in:
Sergey Romanenko
2020-11-19 22:42:34 +03:00
committed by GitHub
parent 81cae6eea9
commit ecd733a31a

View File

@@ -3,20 +3,6 @@ name: Tests
on: ['push', 'pull_request']
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2.3.2
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@4.0.0
with:
server: vh100.timeweb.ru
port: 21
username: cx01224_github
password: ${{ secrets.FTP_PASSWORD }}
build:
runs-on: ${{ matrix.os }}
@@ -27,7 +13,8 @@ jobs:
dependency-version: [prefer-stable]
steps:
- uses: actions/checkout@v2
- name: Get latest code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
@@ -50,5 +37,14 @@ jobs:
run: composer update --dev --${{ matrix.dependency-version }} --ignore-platform-req=php --no-interaction --no-progress
if: "matrix.php >= 8"
- name: Deploy on Test
uses: SamKirkland/FTP-Deploy-Action@4.0.0
with:
server: vh100.timeweb.ru
port: 21
username: cx01224_github
password: ${{ secrets.FTP_PASSWORD }}
server-dir: /test.flextype.org/public_html
- name: Run Tests
run: ./vendor/bin/pest