Skip to content

Add AI processing, store, and search methods to DA [WEB-2934] #44

Add AI processing, store, and search methods to DA [WEB-2934]

Add AI processing, store, and search methods to DA [WEB-2934] #44

Workflow file for this run

name: Testing
on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master
jobs:
build:
runs-on: ubuntu-latest
env:
MYSQL_USER: homestead
MYSQL_DB: homestead
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: secret
services:
mysql:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: ${{ env.MYSQL_ROOT_PASSWORD }}
MYSQL_DATABASE: ${{ env.MYSQL_DB }}
MYSQL_USER: ${{ env.MYSQL_USER }}
MYSQL_PASSWORD: ${{ env.MYSQL_PASSWORD }}
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- uses: actions/checkout@v3
- name: Install Postgres
id: postgres
image: pgvector/pgvector:pg17

Check failure on line 44 in .github/workflows/testing.yml

View workflow run for this annotation

GitHub Actions / Testing

Invalid workflow file

The workflow is not valid. .github/workflows/testing.yml (Line: 44, Col: 7): Unexpected value 'image'
uses: ikalnytskyi/action-setup-postgres@v7
with:
username: homestead
password: secret
database: vectors
port: 5432
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Create environment file
run: cp .env.ci .env
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Generate Laravel key
run: php artisan key:generate
- name: Run migrations
run: php artisan migrate
- name: Run test suite
run: vendor/bin/phpunit