-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (29 loc) · 874 Bytes
/
Copy pathpest.yml
File metadata and controls
38 lines (29 loc) · 874 Bytes
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
name: Pest
permissions:
contents: read
on:
pull_request:
jobs:
pest:
runs-on: ubuntu-latest
timeout-minutes: 3
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP and Composer
uses: ./.github/actions/setup-php-composer
with:
coverage: "true"
flux-username: ${{ secrets.FLUX_USERNAME }}
flux-license-key: ${{ secrets.FLUX_LICENSE_KEY }}
- name: Setup Bun
uses: ./.github/actions/setup-bun
- name: Build frontend
run: bun run build
- name: Generate APP_KEY
run: php artisan key:generate --env=testing --force
- name: Execute tests with coverage
run: vendor/bin/pest --parallel --coverage --coverage-text