Skip to content

Latest commit

 

History

History
67 lines (52 loc) · 2.16 KB

README.md

File metadata and controls

67 lines (52 loc) · 2.16 KB

laravel microscope action

widgetize_header widgetize_header

Built with laravel microscope for laziest laravel developers ;)

This github action helps you to automate test on each push

About laravel microscope:

laravel microscope is a auto test generator for laravel. it creates basic and complex test for your laravel project and checks for bugs and best practises in your code and guides you to write a better code. for more information read the full documentation.
this github action automates the process and makes it even easier to check your code.

Usage:

first set up a new github action from actions tab in your laravel repository . if you are not fimilar with github actions follow this guide basic usage example :

name: microscope

# Controls when the workflow will run
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: abbasudo/microscope-action@master

using the action without any parameter uses check:all by default for specifying custom command instead of check:all difne command attribute

basic usage example :

name: microscope

# Controls when the workflow will run
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [ develop ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: abbasudo/microscope-action@master
        with :
          command : check:dd

now pushing to the branch will run microscope tests .