Skip to content

PHPUnit

PHPUnit #31

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 * * *'
## UPDATES
## Update the version numbers in the job name and the action parameters.
## |-------------|-----------------|-----------------|-----------------|
## | Drupal | 10.5.x | 11.0.x | 11.1.x |
## |-------------|-----------------|-----------------|-----------------|
## | **PHP 8.1** | ![Grid1A-Badge] | | |
## | **PHP 8.2** | ![Grid1B-Badge] | | |
## | **PHP 8.3** | ![Grid1C-Badge] | ![Grid2C-Badge] | ![Grid3C-Badge] |
## |-------------|-----------------|-----------------|-----------------|
jobs:
grid-1A:
name: "Drupal 11.0.x-dev - PHP 8.3 - PostgreSQL 16"
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run Automated testing
uses: tripal/[email protected]
with:
directory-name: 'chado_search'
modules: 'chado_search'
build-image: TRUE
dockerfile: 'Dockerfile'
php-version: '8.3'
pgsql-version: '16'
drupal-version: '11.0.x-dev'