Skip to content

Commit 05ef748

Browse files
committed
try improve ci
1 parent bfb680a commit 05ef748

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/github-actions.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
tests:
6464
env:
6565
HOST_API: http://api.openchurch.local/api
66+
REDIS_URL: redis://redis:6379
6667
runs-on: ubuntu-latest
6768
# Docs: https://docs.github.com/en/actions/using-containerized-services
6869
services:
@@ -121,11 +122,9 @@ jobs:
121122
env:
122123
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/openchurch_test
123124
SYNCHRO_SECRET_KEY: secret
124-
REDIS_URL: redis://redis:6379
125125
- name: Execute tests (Unit and Feature tests) via PHPUnit
126126
run: vendor/bin/phpunit
127127
env:
128-
REDIS_URL: redis://redis:6379
129128
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/openchurch_test
130129
- name: phpstan
131130
if: always()
@@ -136,19 +135,14 @@ jobs:
136135
- name: lint:container
137136
if: always()
138137
run: php bin/console lint:container
139-
env:
140-
REDIS_URL: redis://redis:6379
141138
- name: lint:yaml
142139
if: always()
143140
run: php bin/console lint:yaml config src
144-
env:
145-
REDIS_URL: redis://redis:6379
146141
- name: doctrine:schema:validate
147142
if: always()
148143
run: php bin/console doctrine:schema:validate -vvv
149144
env:
150145
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/openchurch_test
151-
REDIS_URL: redis://redis:6379
152146
- name: Archive logs as artifacts
153147
if: always()
154148
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)