Skip to content

abbasudo/microscope-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .