Skip to content

Commit

Permalink
Update php-unit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mondrake authored Nov 2, 2024
1 parent f3ac1f8 commit 1193561
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/php-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,17 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

- name: Map update
- name: Mapping test
id: mapTest
if: ${{ matrix.php-version == 8.1 }}
continue-on-error: true
run: |
php ./bin/fileeye-mimemap --version
php ./bin/fileeye-mimemap update --diff --ansi
php ./bin/fileeye-mimemap update --diff --fail-on-diff --ansi
- name: Map update
if: ${{ failure() && steps.mapTest.conclusion == 'failure' }}
run: php ./bin/fileeye-mimemap update --ansi

- name: Map artifact
if: ${{ matrix.php-version == 8.1 }}
Expand Down

0 comments on commit 1193561

Please sign in to comment.