Skip to content

Commit

Permalink
fix(workflow): clear
Browse files Browse the repository at this point in the history
  • Loading branch information
PrInStPL committed Jul 19, 2024
1 parent 47a1ad5 commit db6daba
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PHP Composer
name: PHP Composer test

on:
push:
Expand All @@ -10,17 +10,13 @@ permissions:
contents: read

jobs:
build:

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: php8.3
run: sudo add-apt-repository ppa:ondrej/php && sudo apt update && sudo apt-get install php8.3

- name: PHP extensions
- name: PHP setup
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
Expand All @@ -41,8 +37,5 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist -v

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

- name: Run test suite
run: composer run-script test

0 comments on commit db6daba

Please sign in to comment.