Commit 44ee19c7 authored by Alex Renoki's avatar Alex Renoki

Better names for steps

parent 18c62a34
...@@ -27,20 +27,20 @@ jobs: ...@@ -27,20 +27,20 @@ jobs:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: 'unittest' MYSQL_DATABASE: 'unittest'
MYSQL_ROOT_PASSWORD: MYSQL_ROOT_PASSWORD:
name: PHP ${{ matrix.php }} with mongo ${{ matrix.mongodb }} name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Show php version - name: Show PHP version
run: php${{ matrix.php }} -v && composer -V run: php${{ matrix.php }} -v && composer -V
- name: Debug if needed - name: Show Docker version
run: if [[ "$DEBUG" == "true" ]]; then docker version && env; fi run: if [[ "$DEBUG" == "true" ]]; then docker version && env; fi
env: env:
DEBUG: ${{secrets.DEBUG}} DEBUG: ${{secrets.DEBUG}}
- name: Get Composer Cache Directory - name: Download Composer cache
id: composer-cache id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)" run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies - name: Cache Composer dependencies
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ steps.composer-cache.outputs.dir }} path: ${{ steps.composer-cache.outputs.dir }}
...@@ -49,7 +49,7 @@ jobs: ...@@ -49,7 +49,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
composer install --no-interaction composer install --no-interaction
- name: Generating code coverage - name: Run tests
run: | run: |
mkdir -p build/logs mkdir -p build/logs
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment