Skip to content

php-token-bucket: replace Travis with GH Actions #2

php-token-bucket: replace Travis with GH Actions

php-token-bucket: replace Travis with GH Actions #2

Workflow file for this run

name: phpunit
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Install dependencies
run: composer install
- name: Run tests
run: vendor/bin/phpunit tests