From 7cfd0ecb9d0fa94f32da5e3f268f490022b24d69 Mon Sep 17 00:00:00 2001 From: Timo Michna Date: Fri, 17 Jun 2022 23:24:59 +0200 Subject: [PATCH] Add package validate call to CI --- .github/workflows/php.yml | 11 +++++++++-- README.md | 4 ++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 761ba845a..a414a7f63 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,5 +1,5 @@ -name: PHP Composer +name: PHP QA on: push: @@ -8,7 +8,7 @@ on: branches: [ main ] jobs: - build: + php: runs-on: ubuntu-latest strategy: @@ -68,3 +68,10 @@ jobs: - name: Code Coverage run: bash <(curl -s https://codecov.io/bash) -F ${{ matrix.php-version }} + + packages: + uses: opentelemetry-php/gh-workflows/.github/workflows/validate-packages.yml@main + needs: php + with: + matrix_extension: '["ast, json, grpc"]' + install_directory: '~/.test/.packages' \ No newline at end of file diff --git a/README.md b/README.md index 37d155491..53a24d141 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # OpenTelemetry php contrib library +![CI Build](https://github.com/open-telemetry/opentelemetry-php-contrib/workflows/PHP%20QA/badge.svg) +[![codecov](https://codecov.io/gh/open-telemetry/opentelemetry-php-contrib/branch/main/graph/badge.svg)](https://codecov.io/gh/open-telemetry/opentelemetry-php) + + ## Current Project Status This project currently lives in a pre-alpha status. Our current release is not production ready; it has been created in order to receive feedback from the community.