Commit 551aaf22 authored by Smolevich's avatar Smolevich

Update ci configuration

parent 629692f4
...@@ -28,18 +28,14 @@ jobs: ...@@ -28,18 +28,14 @@ jobs:
fi fi
env: env:
DEBUG: ${{secrets.DEBUG}} DEBUG: ${{secrets.DEBUG}}
- name: Build docker images
run: |
docker-compose build --build-arg PHP_VERSION=${{ matrix.php }}
- name: Install dependencies - name: Install dependencies
run: | run: |
mkdir vendor
docker-compose run --rm tests composer install --no-interaction docker-compose run --rm tests composer install --no-interaction
- name: Generating code coverage - name: Generating code coverage
run: | run: |
mkdir -p build/logs mkdir -p build/logs
docker-compose run --rm \ docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
tests ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml chmod -R 0777 build/logs
- name: Send coveralls - name: Send coveralls
run: | run: |
ls -alt ls -alt
......
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