feat: setup tests
This commit is contained in:
parent
6b35056d2c
commit
26aeb356d8
|
|
@ -18,16 +18,20 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker run --rm \
|
||||
-v /workspace:/app \
|
||||
-w /app \
|
||||
laravelsail/php84-composer:latest \
|
||||
- name: Run Tests
|
||||
uses: docker://laravelsail/php84-composer:latest
|
||||
env:
|
||||
APP_ENV: testing
|
||||
APP_KEY: base64:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
|
||||
DB_CONNECTION: sqlite
|
||||
DB_DATABASE: ":memory:"
|
||||
with:
|
||||
args: |
|
||||
bash -c "composer install --no-interaction --ignore-platform-req=ext-intl && php artisan test"
|
||||
|
||||
# =========================
|
||||
# BUILD & PUSH IMAGE
|
||||
# =========================
|
||||
|
|
|
|||
Loading…
Reference in New Issue