Skip to content

Instantly share code, notes, and snippets.

@tjimenez
Forked from stancl/ci.yml
Created June 2, 2021 19:08
Show Gist options
  • Select an option

  • Save tjimenez/6b33952b7b1b3ba0f9a26c5873b493a1 to your computer and use it in GitHub Desktop.

Select an option

Save tjimenez/6b33952b7b1b3ba0f9a26c5873b493a1 to your computer and use it in GitHub Desktop.
Minimal GitHub Action example for running phpunit
name: CI
on: [ push, pull_request ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: composer install
- name: Run tests
run: vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment