Skip to content

Merge pull request #64 from VincentLanglet/missingEuCountries #46

Merge pull request #64 from VincentLanglet/missingEuCountries

Merge pull request #64 from VincentLanglet/missingEuCountries #46

Workflow file for this run

name: Build
on: [ push, pull_request ]
jobs:
coding-standards:
name: "Coding Standards"
runs-on: "ubuntu-20.04"
strategy:
matrix:
php-version:
- "8.2"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
tools: "cs2pr"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Run PHP_CodeSniffer"
run: "vendor/bin/phpcs -n -s --report=checkstyle | cs2pr"
tests:
name: "Tests"
runs-on: "ubuntu-20.04"
strategy:
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Run PHPUnit"
run: "vendor/bin/phpunit"