Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

fix

fix #6

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
PDF2IMG_BASE_URL: http://pdf2img:3000
services:
# Define the Docker service
pdf2img:
image: codeinchq/pdf2img:latest
ports:
- 3000:3000
steps:
# Check out the code
- name: Checkout code
uses: actions/checkout@v3
# Set up PHP with the version you need
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer
# Install dependencies
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
# Run tests
- name: Run tests
run: vendor/bin/phpunit tests