Skip to content

Commit

Permalink
ci: switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyker committed Mar 17, 2024
1 parent 47f265f commit 9423d73
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on:
push:
branches: [ "dev", "master" ]
pull_request:
branches: [ "dev" ]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- uses: actions/checkout@v3
- name: Copy testing .env
run: cp .env.testing .env
- name: Install dependencies
run: composer install --no-interaction
- name: Generate key
run: php artisan key:generate
- name: Run tests
run: php artisan test

0 comments on commit 9423d73

Please sign in to comment.