Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
:octocat:
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Mar 8, 2024
1 parent 8b3d723 commit 19967d4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
8 changes: 5 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!-- You can erase any parts of this template not applicable to your Pull Request. -->

## Proposed changes

<!-- Describe your changes here to communicate to the maintainers why you'd like to include this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue. -->


<!-- You can erase any of the parts below that are not applicable to your Pull Request. -->

## Types of changes

<!-- Put an `x` in the boxes that apply -->
Expand All @@ -15,6 +15,8 @@ What types of changes does your code introduce?
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation fix or enhancement (no code was touched)
- [ ] Other (CI, dependencies, etc., please describe)


## Checklist:
Expand All @@ -23,7 +25,7 @@ What types of changes does your code introduce?
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation (if appropriate)
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] Lint and unit tests pass locally with my changes
- [ ] Static analysis and unit tests pass locally with my changes


## Further comments
Expand Down
29 changes: 14 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
# https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
# https://github.com/sebastianbergmann/phpunit/blob/main/.github/workflows/ci.yaml

name: "Continuous Integration"

Expand All @@ -11,6 +11,11 @@ on:
branches:
- main

env:
PHP_EXTENSIONS: ast, curl, fileinfo, intl, json, mbstring, simplexml, sodium, zlib
PHP_INI_VALUES: memory_limit=-1, error_reporting=-1, display_errors=On


jobs:

static-code-analysis:
Expand All @@ -37,9 +42,10 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ env.PHP_INI_VALUES }}
tools: pecl
coverage: none
extensions: ast, curl, fileinfo, intl, json, mbstring, simplexml, sodium, zlib

- name: "Update dependencies with composer"
uses: ramsey/composer-install@v3
Expand Down Expand Up @@ -72,8 +78,9 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ env.PHP_INI_VALUES }}
coverage: pcov
extensions: curl, fileinfo, intl, json, mbstring, simplexml, sodium, zlib

- name: "Install dependencies with composer"
uses: ramsey/composer-install@v3
Expand Down Expand Up @@ -106,10 +113,11 @@ jobs:
- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
php-version: "8.3"
extensions: ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ env.PHP_INI_VALUES }}
coverage: none
tools: phpDocumentor
extensions: curl, fileinfo, intl, json, mbstring, simplexml, sodium, zlib

- name: "Build API docs"
run: phpdoc --config=phpdoc.xml.dist
Expand All @@ -131,18 +139,9 @@ jobs:
- name: "Checkout sources"
uses: actions/checkout@v4

- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
coverage: none

- name: "Install Sphinx"
run: pip install sphinx myst-parser sphinx-rtd-theme

- name: "Install dependencies with composer"
uses: ramsey/composer-install@v3

- name: "Build manual"
run: |
cd docs
Expand Down

0 comments on commit 19967d4

Please sign in to comment.