Skip to content

Commit

Permalink
on
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Feb 25, 2021
1 parent 6dbed53 commit 4e7bae4
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
#############
tests:
runs-on: ubuntu-latest
name: Test on ${{ matrix.connection }} Testsuite ${{ matrix.testsuite }} (PHP ${{ matrix.php-version }})
name: Unit tests on ${{ matrix.connection }} Testsuite ${{ matrix.testsuite }} (PHP ${{ matrix.php-version }})

services:
mysql:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
###################
tests_browser:
runs-on: ubuntu-latest
name: Test browser on ${{ matrix.connection }} (PHP ${{ matrix.php-version }})
name: Tests browser on ${{ matrix.connection }} (PHP ${{ matrix.php-version }})

services:
mysql:
Expand Down Expand Up @@ -248,12 +248,6 @@ jobs:
php -S localhost:8000 -t public scripts/tests/server-cc.php &
php -S localhost:8001 -t public scripts/tests/server-cc.php &
- name: Test http server
run: curl -v http://localhost:8000

- name: Test server script
run: REQUEST_URI=/ php scripts/tests/server-cc.php

- name: Run browser tests
run: php artisan dusk --log-junit results/junit/results0.xml
env:
Expand All @@ -264,28 +258,13 @@ jobs:
vendor/bin/phpcov merge --clover=results/coverage0.xml results/coverage/
rm -rf results/coverage
- name: debug
if: always()
run: find results

- name: debug
if: always()
run: find storage

- name: Store results
if: always()
uses: actions/upload-artifact@v2
with:
name: results0
path: results

- name: Store logs
if: always()
uses: actions/upload-artifact@v2
with:
name: logs
path: storage/logs


###########################
# Reporting to sonarcloud
Expand Down

0 comments on commit 4e7bae4

Please sign in to comment.