Skip to content

Instantly share code, notes, and snippets.

@stancl
Created May 17, 2020 07:39
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save stancl/f54d0e8b1037aa09a17816ecf2f8cb1d to your computer and use it in GitHub Desktop.
Save stancl/f54d0e8b1037aa09a17816ecf2f8cb1d 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