PHPUnit #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.2' | |
pgsql-version: '13' | |
drupal-version: '10.1.x-dev' |