Skip to content

Commit

Permalink
Merge pull request #34 from offline-agency/added-codacy
Browse files Browse the repository at this point in the history
Added codacy
  • Loading branch information
Giacomo Fabbian committed Jun 26, 2020
2 parents b87cb3d + 2a76274 commit 3b373d4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .codacy.yml
@@ -0,0 +1,2 @@
exclude_paths:
- '.github/**'
9 changes: 9 additions & 0 deletions .github/workflows/build-ci.yml
Expand Up @@ -53,3 +53,12 @@ jobs:
./vendor/bin/phpunit --coverage-clover coverage.xml
env:
MONGO_HOST: 0.0.0.0

- name: Send coveralls
run: vendor/bin/coveralls coverage.xml
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -18,7 +18,8 @@
"orchestra/testbench": "^3.1|^4.0",
"mockery/mockery": "^1.0",
"doctrine/dbal": "^2.5",
"phpunit/phpcov": "5.0.0"
"phpunit/phpcov": "^6.0",
"cedx/coveralls": "^11.2"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 3b373d4

Please sign in to comment.