Added getStockId() tests and prepared for db dependency injection #27
Workflow file for this run
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] | |
env: | |
PKG_NAME: TripalCultivate-Germplasm | |
MODULES: "trpcultivate_germplasm trpcultivate_germcollection" | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: | |
- "8.0" | |
- "8.1" | |
- "8.2" | |
pgsql-version: | |
- "13" | |
drupal-version: | |
- "9.4.x-dev" | |
- "9.5.x-dev" | |
- "10.0.x-dev" | |
- "10.1.x-dev" | |
exclude: | |
- php-version: "8.2" | |
pgsql-version: "13" | |
drupal-version: "9.4.x-dev" | |
- php-version: "8.2" | |
pgsql-version: "13" | |
drupal-version: "9.5.x-dev" | |
- php-version: "8.0" | |
pgsql-version: "13" | |
drupal-version: "10.0.x-dev" | |
- php-version: "8.0" | |
pgsql-version: "13" | |
drupal-version: "10.1.x-dev" | |
steps: | |
# Check out the repo | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
# Here we pull the development tripaldocker image for this combo in our matrix | |
- name: Run Automated testing | |
uses: tripal/[email protected] | |
with: | |
directory-name: $PKG_NAME | |
modules: $MODULES | |
build-image: TRUE | |
dockerfile: 'Dockerfile' | |
php-version: ${{ matrix.php-version }} | |
pgsql-version: ${{ matrix.pgsql-version }} | |
drupal-version: ${{ matrix.drupal-version }} | |