mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 06:43:40 +00:00
18 lines
492 B
YAML
18 lines
492 B
YAML
name: Test
|
|
on: push
|
|
jobs:
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
php-versions: ['7.2', '7.3', '7.4', '8.0']
|
|
name: PHP ${{ matrix.php-versions }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php-versions }}
|
|
- run: composer validate --no-interaction --strict
|
|
- run: composer install --no-interaction --prefer-dist
|
|
- run: npm test
|