Skip to content

chore: Update GitHub workflow to use composer for dependency manageme… #12

chore: Update GitHub workflow to use composer for dependency manageme…

chore: Update GitHub workflow to use composer for dependency manageme… #12

name: PHP tests on alpine
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
container: php:8.2-fpm-alpine
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install scout-seeker
run: |
apk add rustup
apk add build-base
cargo install scout-seeker
- name: Install dependencies
run: |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
composer install
- name: Execute tests
run: |
pwd
vendor/bin/pest --ci