Skip to content

Commit

Permalink
allow failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dakujem committed Jul 16, 2024
1 parent cf7c39c commit 87ea54c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- php: '8.2'
- php: '8.3'
- php: '8.4'
allow_failure: true
# Steps represent a sequence of tasks that will be executed as part of the job
name: "PHP${{ matrix.php }} ${{ matrix.composer-flags }}"
steps:
Expand Down Expand Up @@ -50,15 +51,19 @@ jobs:

- name: Update composer dependencies
run: composer update -o --no-interaction --no-progress --prefer-dist ${{ matrix.composer-flags }}
continue-on-error: ${{ matrix.allow_failure }}

- name: Run TEST suite
run: composer run-script test:ci -- -C --coverage tests/output/coverage.xml --coverage-src=src
continue-on-error: ${{ matrix.allow_failure }}
#run: vendor/bin/tester tests -C --coverage tests/output/coverage.xml --coverage-src=src

- name: Install php-coveralls
if: ${{ !matrix.allow_failure }}
run: composer global require -o --no-interaction --no-progress --prefer-dist php-coveralls/php-coveralls

- name: Upload coverage results to Coveralls
if: ${{ !matrix.allow_failure }}
uses: nick-invision/retry@v3
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 87ea54c

Please sign in to comment.