feat(delete): fix broken tests #63
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
name: Tests | |
jobs: | |
setup-and-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build containers | |
run: docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) | |
- name: Composer install | |
run: docker-compose run --rm -T php composer install --no-interaction --no-progress | |
- name: Run Code Standards | |
run: docker-compose run --rm -T php vendor/bin/phpcs | |
- name: Run Tests | |
run: docker-compose run --rm -T php vendor/bin/phpunit tests/ --coverage-clover report.xml | |
- name: Report Coverage | |
uses: codacy/codacy-coverage-reporter-action@v1 | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: ./report.xml |