Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc1fbcc762 |
@@ -1,27 +0,0 @@
|
|||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
php-tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: php:8.3-cli-alpine
|
|
||||||
steps:
|
|
||||||
# actions/checkout is a JS action -- php:8.3-cli-alpine has no node on
|
|
||||||
# PATH by default, so install it (musl-native, no glibc/Alpine mismatch)
|
|
||||||
# before any step that needs it.
|
|
||||||
- name: Install Node
|
|
||||||
run: apk add --no-cache nodejs
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Composer
|
|
||||||
run: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: composer install --no-progress --prefer-dist
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: vendor/bin/phpunit
|
|
||||||
Reference in New Issue
Block a user