Skip to content

PHPUnit

PHPUnit #99

name: PHPUnit
on:
push:
branches:
- 4.x
# Allows us to manually trigger this workflow.
# This is great if there is a change made to Tripal core that we want to test our modules on ASAP.
workflow_dispatch:
# Allows us to schedule when this workflow is run.
# This ensures we pick up any new changes committed to Tripal Core.
schedule:
# Run at 4am every morning.
- cron: '0 4 * * *'
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run Automated testing
uses: tripal/[email protected]
with:
directory-name: 'TripalCultivate-Germplasm'
modules: 'trpcultivate_germplasm trpcultivate_germcollection'
build-image: TRUE
dockerfile: 'Dockerfile'
php-version: '8.3'
pgsql-version: '13'
drupal-version: '10.2.x-dev'