Skip to content

Commit

Permalink
adding flaky test stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ko committed Aug 29, 2024
1 parent ea147bc commit 764d553
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/pr-only.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,19 @@ jobs:
- name: Upload Controller coverage report
run: ./codecov upload-process --disable-search -t ${{ secrets.CODECOV_TOKEN }} -n 'controller'-${{ github.run_id }} -F controller -f coverage-controller.xml

- name: Run Unit Testsuite with Coverage
run: vendor/bin/phpunit --testsuite="Unit Tests" --coverage-clover=coverage-unit.xml
- name: Run Unit Testsuite with Coverage and Junit outpu
run: vendor/bin/phpunit --testsuite="Unit Tests" --coverage-clover=coverage-unit.xml --log-junit junit-unit.xml

- name: Upload unit coverage report
- name: Upload unit test coverage report
run: ./codecov upload-process --disable-search -t ${{ secrets.CODECOV_TOKEN }} -n 'unit'-${{ github.run_id }} -F unit -f coverage-unit.xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: junit-unit.xml

- name: Javascript tests using Jest
run: npm run test

Expand Down

0 comments on commit 764d553

Please sign in to comment.