mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-05 09:22:54 +00:00
19 lines
492 B
YAML
19 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
|