Update IPinfo.php remove space from $this-> continents #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
run: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['8.0', '8.1', '8.2'] | |
include: | |
- php-versions: '8.0' | |
phpunit-versions: '9.5.20' | |
- php-versions: '8.1' | |
phpunit-versions: '10.3.3' | |
- php-versions: '8.2' | |
phpunit-versions: '10.3.3' | |
name: PHP ${{ matrix.php-versions }} Test with PHPUnit ${{ matrix.phpunit-versions }} on ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP with Xdebug | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: phpunit:${{ matrix.phpunit-versions }} | |
coverage: xdebug | |
- name: Check PHP Version | |
run: php -v | |
- name: Validate composer.json and composer.lock | |
run: composer validate --strict | |
- name: Composer install | |
run: composer install --optimize-autoloader --prefer-dist --ignore-platform-reqs | |
- name: Run test suite | |
env: | |
IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }} | |
XDEBUG_MODE: "coverage" | |
run: /usr/local/bin/phpunit --coverage-html=coverage | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: code-coverage-report | |
path: coverage/ | |
retention-days: 90 |