Skip to content

Commit

Permalink
build: add test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
trenc committed Mar 12, 2024
1 parent 5b01931 commit 24f7681
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run tests

on: [push, pull_request]

jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
coverage: none

- name: Run composer install
run: composer install -n --prefer-dist

- name: Prepare Laravel Application
run: |
php artisan key:generate
- name: Run tests
run: php artisan test --without-tty

0 comments on commit 24f7681

Please sign in to comment.