diff options
Diffstat (limited to 'vendor/opentracing/opentracing/.github')
3 files changed, 89 insertions, 0 deletions
diff --git a/vendor/opentracing/opentracing/.github/ISSUE_TEMPLATE.md b/vendor/opentracing/opentracing/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..f99dd606b --- /dev/null +++ b/vendor/opentracing/opentracing/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,21 @@ +<!-- +Welcome to the OpenTracing PHP repo! 👋🎉 + +- Please search for existing issues in order to ensure we don't have duplicate bugs/feature requests.) +- Please be respectful and considerate of others when commenting on issues) +- Please provide as much information as possible so we all understand the issue.) +- Please don't ask questions here. If you have any question head to our gitter chat https://gitter.im/opentracing/opentracing-php +--> + + +## Background +Something that gives context about why this is an issue. + +## Problem +Describe the problem. If the issue is about an improvement you can skip this. If possible, include a description of the impact of the problem. + +## Proposal +A proposal that from your POV would solve the problem or improve the existing situation. It should also include the impact. + +## Questions to address +Questions that should be answered as outcome of this issue. diff --git a/vendor/opentracing/opentracing/.github/PULL_REQUEST_TEMPLATE.md b/vendor/opentracing/opentracing/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..d81c08379 --- /dev/null +++ b/vendor/opentracing/opentracing/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,24 @@ +<!-- +We appreciate the effort for this pull request but before that please make sure you read the contribution guidelines given above, then fill out the blanks below. + +Please don't open huge pull requests and keep one pull request solving one problem. + +Please enter the issue number you are resolving in your PR after one of the following words [Fixes, Closes, Resolves]. This will auto-link these issues and close them when this PR is merged! +e.g. +Fixes #1 +Closes #2 +--> + +### Short description of what this PR does: +- +- + +### Checklist +- [ ] I have made a material change to the repo (functionality, testing, spelling, grammar) +- [ ] I have read the [Contribution Guide] and my PR follows them. +- [ ] I updated my branch with the master branch. +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] I have added necessary documentation about the functionality in the appropriate .md file +- [ ] I have added in line documentation to the code I modified + +Closes #
\ No newline at end of file diff --git a/vendor/opentracing/opentracing/.github/workflows/ci.yml b/vendor/opentracing/opentracing/.github/workflows/ci.yml new file mode 100644 index 000000000..8fba7baf8 --- /dev/null +++ b/vendor/opentracing/opentracing/.github/workflows/ci.yml @@ -0,0 +1,44 @@ +name: Build +on: + push: + branches: + - master + paths-ignore: + - "**/*.md" + - "LICENSE" + pull_request: +jobs: + test: + name: OpenTracing (PHP version ${{ matrix.php-versions }} on ${{ matrix.operating-system }}) + runs-on: ${{ matrix.operating-system }} + strategy: + fail-fast: false + matrix: + operating-system: [ubuntu-latest, windows-latest, macos-latest] + php-versions: ["7.1", "7.2", "7.3", "7.4", "8.0", "8.1"] + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup PHP, with composer and extensions + uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php + with: + php-version: ${{ matrix.php-versions }} + - name: Get composer cache directory + id: composer-cache + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + - name: Cache composer dependencies + uses: actions/cache@v2 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: ${{ runner.os }}-composer- + - name: Install Composer dependencies + run: | + composer install --no-progress --prefer-dist --optimize-autoloader + - name: Run lint + if: matrix.operating-system != 'windows-latest' + run: composer lint + - name: Run static check + run: composer static-check + - name: Run tests + run: composer test |