-
-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (45 loc) · 1.32 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: run-tests
on:
push:
branches:
- main
- development
jobs:
test:
runs-on: ubuntu-22.04
env:
BROADCAST_DRIVER: log
CACHE_DRIVER: redis
QUEUE_CONNECTION: redis
SESSION_DRIVER: redis
DB_CONNECTION: testing
APP_KEY: base64:2fl+Ktvkfl+Fuz3Qp/A76G2RTiGVA/ZjKZaz6fiiM10=
APP_ENV: testing
BCRYPT_ROUNDS: 10
MAIL_MAILER: array
TELESCOPE_ENABLED: false
SERPER_API_KEY: FOO
CLEARBIT_API_KEY: FOO
CRUNCHBASE_API_KEY: FOO
FIRECRAWL_API_KEY: FOO
SERPAPI_API_KEY: FOO
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Setup PHP 🏗
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: xdebug
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, mysql
- name: Install Project Dependencies 💻
run: |
composer install --no-interaction --prefer-dist --optimize-autoloader
- name: List Installed Dependencies 📦
run: composer show -D
- name: Run tests 🧪
run: |
./vendor/bin/pest --version
./vendor/bin/pest