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 13
13
name : Run PHPUnit Tests
14
14
runs-on : ubuntu-latest
15
15
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
-
30
16
steps :
31
17
- name : Checkout code
32
18
uses : actions/checkout@v3
47
33
- name : Install dependencies
48
34
run : composer install --no-progress --prefer-dist
49
35
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 }}
55
41
run : vendor/bin/phpunit --configuration phpunit.dist.xml
You can’t perform that action at this time.
0 commit comments