Skip to content

update version

update version #234

Workflow file for this run

name: CI
on:
- pull_request
- push
jobs:
phpunit:
name: "PHPUnit (PHP: ${{ matrix.php-versions }})"
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- 8.2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
- name: Composer install
run: composer install --no-interaction --no-ansi --no-progress
- name: Replace image
run: 'sed -i "s#image: fusio\/fusio#build: \.#g" docker-compose.yml'
- name: Add hostname
run: 'echo "127.0.0.1 api.fusio.cloud" | sudo tee -a /etc/hosts'
- name: Start docker
run: 'docker compose up -d'
- name: Wait for docker
run: 'while [[ $(curl -s -o /dev/null -w "%{http_code}" api.fusio.cloud:8080/system/health) != "200" ]]; do sleep 5; done'
- name: Run PHPUnit
run: vendor/bin/phpunit
docker-mssql:
name: "Docker-MSSQL"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Docker
run: docker build ./mssql
# docker-oracle:
# name: "Docker-Oracle"
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Build Docker
# run: docker build ./oracle