-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #199 from neo4j-php/ISSUE-198
ci: Fix pipeline
- Loading branch information
Showing
70 changed files
with
603 additions
and
528 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
name: Integration Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
env: | ||
CONNECTION: ${{ secrets.AURA_PRO }} | ||
name: "Running on all provided Aura instances" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache Composer dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: /tmp/composer-cache | ||
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | ||
- uses: php-actions/composer@v6 | ||
with: | ||
progress: yes | ||
php_version: 8.0 | ||
version: 2 | ||
- name: clean database | ||
run: CONNECTION=$CONNECTION php tests/clean-database.php | ||
- uses: php-actions/phpunit@v3 | ||
with: | ||
configuration: phpunit.xml.dist | ||
php_version: 8.0 | ||
memory_limit: 1024M | ||
version: 9 | ||
testsuite: Integration | ||
bootstrap: vendor/autoload.php | ||
#name: Integration Tests | ||
# | ||
#on: | ||
# push: | ||
# branches: | ||
# - main | ||
# pull_request: | ||
# branches: | ||
# - main | ||
# | ||
#jobs: | ||
# tests: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# CONNECTION: ${{ secrets.AURA_PRO }} | ||
# name: "Running on all provided Aura instances" | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Cache Composer dependencies | ||
# uses: actions/cache@v2 | ||
# with: | ||
# path: /tmp/composer-cache | ||
# key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | ||
# - uses: php-actions/composer@v6 | ||
# with: | ||
# progress: yes | ||
# php_version: 8.1 | ||
# version: 2 | ||
# - name: clean database | ||
# run: CONNECTION=$CONNECTION php tests/clean-database.php | ||
# - uses: php-actions/phpunit@v3 | ||
# with: | ||
# configuration: phpunit.xml.dist | ||
# php_version: 8.1 | ||
# memory_limit: 1024M | ||
# version: 10 | ||
# testsuite: Integration | ||
# bootstrap: vendor/autoload.php |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ composer.lock | |
.env | ||
/docs/_build | ||
cachegrind.out.* | ||
.phpunit.cache/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM php:8.0-cli | ||
FROM php:8.1-cli | ||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
libzip-dev \ | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
<phpunit colors="true" verbose="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
convertDeprecationsToExceptions="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Integration"> | ||
<directory>./tests/Integration</directory> | ||
</testsuite> | ||
<testsuite name="Performance"> | ||
<directory>./tests/Performance</directory> | ||
</testsuite> | ||
<testsuite name="Unit"> | ||
<directory>./tests/Unit</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<env name="CONNECTION" value="neo4j://neo4j:testtest@localhost" /> | ||
</php> | ||
<?xml version="1.0"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache"> | ||
<testsuites> | ||
<testsuite name="Integration"> | ||
<directory>./tests/Integration</directory> | ||
</testsuite> | ||
<testsuite name="Performance"> | ||
<directory>./tests/Performance</directory> | ||
</testsuite> | ||
<testsuite name="Unit"> | ||
<directory>./tests/Unit</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<env name="CONNECTION" value="neo4j://neo4j:testtest@localhost:11687"/> | ||
</php> | ||
</phpunit> |
Oops, something went wrong.