Skip to content

Commit 7cfd0ec

Browse files
committed
Add package validate call to CI
1 parent afb5fb7 commit 7cfd0ec

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
name: PHP Composer
2+
name: PHP QA
33

44
on:
55
push:
@@ -8,7 +8,7 @@ on:
88
branches: [ main ]
99

1010
jobs:
11-
build:
11+
php:
1212

1313
runs-on: ubuntu-latest
1414
strategy:
@@ -68,3 +68,10 @@ jobs:
6868

6969
- name: Code Coverage
7070
run: bash <(curl -s https://codecov.io/bash) -F ${{ matrix.php-version }}
71+
72+
packages:
73+
uses: opentelemetry-php/gh-workflows/.github/workflows/validate-packages.yml@main
74+
needs: php
75+
with:
76+
matrix_extension: '["ast, json, grpc"]'
77+
install_directory: '~/.test/.packages'

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# OpenTelemetry php contrib library
22

3+
![CI Build](https://github.com/open-telemetry/opentelemetry-php-contrib/workflows/PHP%20QA/badge.svg)
4+
[![codecov](https://codecov.io/gh/open-telemetry/opentelemetry-php-contrib/branch/main/graph/badge.svg)](https://codecov.io/gh/open-telemetry/opentelemetry-php)
5+
6+
37
## Current Project Status
48
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.
59

0 commit comments

Comments
 (0)