Skip to content

Commit

Permalink
Merge branch 'main' into fix_lack_of_refcount_increase
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelewski authored Oct 11, 2022
2 parents 56aaf14 + 6482bb6 commit 3a98ae6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
php:
runs-on: "${{ matrix.os }}"
name: "Build and test"
strategy:
matrix:
php: ['8.0', '8.1', '8.2']
os: ['ubuntu-latest']

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
tools: pecl

- name: Build
run: |
phpize
./configure
make
- name: Test
run: make test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# OpenTelemetry auto-instrumentation extension

[![Build and test](https://github.com/open-telemetry/opentelemetry-php-instrumentation/actions/workflows/build.yml/badge.svg)](https://github.com/open-telemetry/opentelemetry-php-instrumentation/actions/workflows/build.yml)

This is an _experimental_ extension for OpenTelemetry, to enable auto-instrumentation.
It is based on [zend_observer](https://www.datadoghq.com/blog/engineering/php-8-observability-baked-right-in/) and requires php8+

Expand Down

0 comments on commit 3a98ae6

Please sign in to comment.