mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 03:03:42 +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
|