Skip to content

Instantly share code, notes, and snippets.

@mdsohelmia
Forked from stancl/ci.yml
Created October 6, 2021 07:32
Show Gist options
  • Select an option

  • Save mdsohelmia/94096f433ee6b3a274b0af2069c0074a to your computer and use it in GitHub Desktop.

Select an option

Save mdsohelmia/94096f433ee6b3a274b0af2069c0074a 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