Skip to content

[ci] Consolidate workflows #1420 #382

[ci] Consolidate workflows #1420

[ci] Consolidate workflows #1420 #382

Workflow file for this run

name: agdb_api_php
on:
pull_request:
branches: ["main"]
paths:
- composer.json
- agdb_api/php/**
- .github/workflows/agdb_api_php.yaml
jobs:
agdb_api_php:
runs-on: ubuntu-latest
defaults:
run:
working-directory: agdb_api/php
steps:
- uses: actions/checkout@v4
- run: composer install
- run: npm ci
- run: ./ci.sh format:check
- run: ./ci.sh analyse
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: ./ci.sh coverage
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage
path: agdb_api/php/coverage/
retention-days: 30