File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change 1313 name : Run PHPUnit Tests
1414 runs-on : ubuntu-latest
1515
16- services :
17- neo4j :
18- image : neo4j:latest
19- ports :
20- - 7474:7474
21- - 7687:7687
22- env :
23- NEO4J_AUTH : neo4j/password
24- options : >-
25- --health-cmd "curl --silent --fail localhost:7474 || exit 1"
26- --health-interval 10s
27- --health-retries 5
28- --health-timeout 5s
29-
3016 steps :
3117 - name : Checkout code
3218 uses : actions/checkout@v3
4733 - name : Install dependencies
4834 run : composer install --no-progress --prefer-dist
4935
50- - name : Load environment variables from .env
51- run : |
52- export $(grep -v '^#' .env | xargs)
53-
54- - name : Run PHPUnit Tests
36+ - name : Run Tests without phpunit.xml
37+ env :
38+ NEO4J_ADDRESS : ${{ secrets.NEO4J_ADDRESS }}
39+ NEO4J_USERNAME : ${{ secrets.NEO4J_USERNAME }}
40+ NEO4J_PASSWORD : ${{ secrets.NEO4J_PASSWORD }}
5541 run : vendor/bin/phpunit --configuration phpunit.dist.xml
You can’t perform that action at this time.
0 commit comments