Skip to content

Commit

Permalink
Merge pull request #1425 from tripal/tv3g9-issue1424-automated-testin…
Browse files Browse the repository at this point in the history
…g-php-8

tv3g9 issue1424 Automated testing with newer php versions
  • Loading branch information
dsenalik committed Feb 24, 2023
2 parents 4fbc231 + 014e28e commit f9e73ec
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 2,632 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# Matrix Build for this job.
strategy:
matrix:
php-versions: ['7.1', '7.2']
php-versions: ['7.1', '7.2', '8.0', '8.1']
# Name the matrix build so we can tell them apart.
name: PHPUnit Testing of Tripal Core (PHP ${{ matrix.php-versions }})

Expand Down Expand Up @@ -130,6 +130,7 @@ jobs:
POSTGRES_CONNECTION_STRING: 'pgsql://postgres:dbpass@localhost:5432/test_db'
ACCOUNT_NAME: tripaladmin
ACCOUNT_PASS: somereallysecurepassword
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.PUBLIC_API_READONLY }}"}}'
run: |
cd $DRUPAL_ROOT/sites/all/modules/tripal
composer require --dev mheap/phpunit-github-actions-printer
Expand Down
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
{
"name": "tripal/tripal",
"description": "Tripal is a toolkit to facilitate construction of online genomic, genetic (and other biological) websites.",
"repositories" : [
{
"type" : "vcs",
"url": "https://github.com/fzaninotto/Faker.git"
}
],
"require-dev": {
"doctrine/instantiator": "1.0.*",
"statonlab/tripal-test-suite": "1.*"
"doctrine/instantiator": "1.* || 2.*",
"statonlab/tripal-test-suite": "1.7.*"
},
"autoload": {
"files": [
"tests/TripalFieldTestHelper.php"
]
},
"require": {
"fzaninotto/faker": "dev-master"
}
}

0 comments on commit f9e73ec

Please sign in to comment.