-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 963 Bytes
/
test.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
name: Run test suite
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.3]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, dom, curl, libxml, mbstring
coverage: none
- name: Configure Flux authentication
env:
FLUX_USERNAME: ${{ secrets.FLUX_USERNAME }}
FLUX_LICENSE_KEY: ${{ secrets.FLUX_LICENSE_KEY }}
run: composer config http-basic.composer.fluxui.dev "${FLUX_USERNAME}" "${FLUX_LICENSE_KEY}"
- name: Install Dependencies
run: composer install --no-progress --no-suggest
- name: Prepare Laravel Application
run: |
cp .env.example .env
php artisan key:generate
- name: Run Pest
run: php artisan test