Skip to content
check-circle

GitHub Action

microscope action

v1.2 Latest version

microscope action

check-circle

microscope action

check your code with laravel microscope

Installation

Copy and paste the following snippet into your .yml file.

              

- name: microscope action

uses: abbasudo/microscope-action@v1.2

Learn more about this action in abbasudo/microscope-action

Choose a version

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 .