Skip to content

Commit

Permalink
Fix building pickle.phar on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Jan 24, 2021
1 parent e12334f commit f9bf6f9
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,20 @@ jobs:
run: composer install --prefer-source --optimize-autoloader --ansi --no-interaction --no-dev
- name: Install Box
run: composer global require 'kherge/box=~2.7' --prefer-source
- name: Build pickle.phar
run: ~/.composer/vendor/bin/box build
- name: Build pickle.phar on Ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
"$(composer global config bin-dir --absolute)/box" build
- name: Build pickle.phar on Windows
if: startsWith(matrix.os, 'windows')
run: |
& "$(composer global config bin-dir --absolute)/box.bat" build
- name: Install Composer dependencies (including dev, preferring dist)
run: composer install --optimize-autoloader --ansi --no-interaction
- name: Run Behat
run: PICKLE_BEHAT_PROCESS_TIMEOUT=0 vendor/bin/behat --format=progress
env:
PICKLE_BEHAT_PROCESS_TIMEOUT: 0
run: vendor/bin/behat --format=progress
- name: Download Ocular
run: curl -sSLf -o ocular.phar https://scrutinizer-ci.com/ocular.phar
- name: Upload code coverage
Expand Down

0 comments on commit f9bf6f9

Please sign in to comment.