Skip to content

Create run-tests.yml #1

Create run-tests.yml

Create run-tests.yml #1

Workflow file for this run

name: Tests
on: [push]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- name: Install host app
run: composer create-project --prefer-dist laravel/laravel host
- name: Install package (this repo)
uses: actions/checkout@v2
with:
path: host/packages/liberu-genealogy/laravel-gedcom
- name: Add this package to composer.json repositories
uses: ajthinking/[email protected]
with:
repo_relative_path: 'host/packages/liberu-genealogy/laravel-gedcom'
- name: Require this package
working-directory: ./host
run: composer require liberu-genealogy/laravel-gedcom @dev
- name: Run tests
working-directory: ./host
run: vendor/phpunit/phpunit/phpunit packages/liberu-genealogy/laravel-gedcom/tests