Skip to content

Commit

Permalink
Create smoke-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Aug 31, 2022
1 parent 1747c9a commit 0226088
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow is especially helpful for pull requests to quickly see if the other tests will definitely fail

name: Smoke Tests

on:
pull_request:

jobs:

run-smoke-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install Composer Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Run smoke tests
run: vendor/bin/pest --stop-on-failure

0 comments on commit 0226088

Please sign in to comment.