diff options
author | Valery Piashchynski <[email protected]> | 2020-11-04 16:38:54 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-04 16:38:54 +0300 |
commit | a3dd9f2a28d91df0e0d1ad229b67297206357c07 (patch) | |
tree | c53893144e9f2228b490ee0f0a66ff875706d36b /.github | |
parent | 0304f09d7e5fa0c76b86429a654aeb366cec6391 (diff) |
Fix CI issues, add RPC tests to the CI
Diffstat (limited to '.github')
-rwxr-xr-x | .github/workflows/ci-build.yml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 94549c37..9b02cf92 100755 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -1,6 +1,6 @@ name: CI -on: [push, pull_request] +on: [ push, pull_request ] jobs: build: @@ -9,9 +9,9 @@ jobs: strategy: fail-fast: false matrix: - php: [7.2, 7.3, 7.4] - go: [1.14, 1.15] - os: [ubuntu-latest] + php: [ 7.2, 7.3, 7.4 ] + go: [ 1.14, 1.15 ] + os: [ ubuntu-latest ] env: GO111MODULE: on steps: @@ -57,16 +57,17 @@ jobs: - name: Install Composer dependencies run: composer install --prefer-dist --no-interaction --no-suggest # --prefer-source -# - name: Analyze PHP sources -# run: composer analyze + # - name: Analyze PHP sources + # run: composer analyze - name: Install Go dependencies run: go mod download - name: Run golang tests run: | - composer update - go test -v -coverprofile=lib.txt -covermode=atomic + go test -v . -tags=debug -coverprofile=lib.txt -covermode=atomic + go test -v ./plugins/rpc -tags=debug -coverprofile=rpc_config.txt -covermode=atomic + go test -v ./plugins/rpc/tests -tags=debug -coverprofile=rpc.txt -covermode=atomic - name: Run code coverage env: |