PHP Classes

File: .github/workflows/test_docker.yml

Recommend this page to a friend!
  Classes of Insolita   Yii2 Fractal   .github/workflows/test_docker.yml   Download  
File: .github/workflows/test_docker.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Yii2 Fractal
Components to implement API based on JSON:API
Author: By
Last change:
Date: 13 days ago
Size: 769 bytes
 

Contents

Class file image Download
name: Tests in docker on: workflow_dispatch jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build the stack run: docker-compose up -d - name: Check running containers run: docker ps -a - name: Check logs run: docker logs yii2-fractal_php_1 - name: Prepare docker app run: make installdocker - name: Prepare permissions run: chmod -R 0777 tests/testapp/runtime - name: Run tests run: make testdocker # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Docs: https://getcomposer.org/doc/articles/scripts.md # - name: Run test suite # run: composer run-script test