Added mutations to API tests

This commit is contained in:
Alejandro Celaya
2021-12-10 17:45:50 +01:00
parent 0d936425c2
commit 6aebaa94af
6 changed files with 66 additions and 27 deletions

View File

@@ -202,7 +202,7 @@ jobs:
strategy:
matrix:
php-version: ['8.0', '8.1']
test-group: ['unit', 'db']
test-group: ['unit', 'db', 'api']
steps:
- name: Checkout code
uses: actions/checkout@v2
@@ -222,8 +222,8 @@ jobs:
run: composer infect:ci:unit
env:
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
- if: ${{ matrix.test-group == 'db' }}
run: composer infect:ci:db
- if: ${{ matrix.test-group != 'unit' }}
run: composer infect:ci:${{ matrix.test-group }}
upload-coverage:
needs: