Skip to content

Commit

Permalink
Removed parallel stuff due to coverage no longer working
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Feb 22, 2021
1 parent 55ba74a commit 9a16a3c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: "PHP ${{ matrix.php-version }} ${{ matrix.database }}"
runs-on: "ubuntu-latest"
strategy:
# max-parallel: 3
# max-parallel: 3
matrix:
php-version:
- "7.3"
Expand All @@ -41,7 +41,7 @@ jobs:
run: |
docker run -d -e POSTGRES_PASSWORD=root -e POSTGRES_DB=origin_test -p 5432:5432 postgres
sudo apt-get install postgresql-client
- name: Setup Redis
- name: Setup Redis
run: docker run -p 6379:6379 -d redis
- name: Install PHP
uses: "shivammathur/setup-php@v2"
Expand Down Expand Up @@ -84,10 +84,8 @@ jobs:
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: ${{ matrix.php-version }}-${{ matrix.database }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml --verbose
- name: Run PHPStan
- name: Run PHPStan
run: "vendor/bin/phpstan analyse src --error-format=github"

0 comments on commit 9a16a3c

Please sign in to comment.