Check postgresql within docker. #56
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
on: [push] | |
jobs: | |
test_all_defaults: | |
name: "Run using all defaults" | |
runs-on: ubuntu-latest | |
steps: | |
# To use this repository's private action, | |
# you must check out the repository | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Clone Tripal for testing purposes | |
run: | | |
git clone https://github.com/tripal/tripal.git tmp | |
cd tmp | |
git checkout 4.x | |
mv * ../ | |
ls ../ | |
- name: Run the action step | |
uses: ./ # Uses an action in the root directory | |
with: | |
directory-name: tripal | |
modules: tripal | |
phpunit-command-options: '--filter testTripalAdminPages' | |
test_all_provided: | |
name: "Run providing all inputs" | |
runs-on: ubuntu-latest | |
steps: | |
# To use this repository's private action, | |
# you must check out the repository | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Clone Tripal for testing purposes | |
run: | | |
git clone https://github.com/tripal/tripal.git tmp | |
cd tmp | |
git checkout 4.x | |
mv * ../ | |
ls ../ | |
- name: Run the action step | |
uses: ./ # Uses an action in the root directory | |
with: | |
directory-name: tripal | |
modules: tripal | |
php-version: "8.3" | |
pgsql-version: "16" | |
drupal-version: "10.4.x-dev" | |
phpunit-command-options: '--filter testTripalAdminPages' | |
build-image: true | |
dockerfile: "Dockerfile" |