Skip to content

Commit

Permalink
try improve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bailletced committed Jan 20, 2025
1 parent bfb680a commit 05ef748
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
tests:
env:
HOST_API: http://api.openchurch.local/api
REDIS_URL: redis://redis:6379
runs-on: ubuntu-latest
# Docs: https://docs.github.com/en/actions/using-containerized-services
services:
Expand Down Expand Up @@ -121,11 +122,9 @@ jobs:
env:
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/openchurch_test
SYNCHRO_SECRET_KEY: secret
REDIS_URL: redis://redis:6379
- name: Execute tests (Unit and Feature tests) via PHPUnit
run: vendor/bin/phpunit
env:
REDIS_URL: redis://redis:6379
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/openchurch_test
- name: phpstan
if: always()
Expand All @@ -136,19 +135,14 @@ jobs:
- name: lint:container
if: always()
run: php bin/console lint:container
env:
REDIS_URL: redis://redis:6379
- name: lint:yaml
if: always()
run: php bin/console lint:yaml config src
env:
REDIS_URL: redis://redis:6379
- name: doctrine:schema:validate
if: always()
run: php bin/console doctrine:schema:validate -vvv
env:
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/openchurch_test
REDIS_URL: redis://redis:6379
- name: Archive logs as artifacts
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 05ef748

Please sign in to comment.