Skip to content

Commit

Permalink
Env : update env.test for github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
julkwel committed Jan 8, 2024
1 parent 581b8a5 commit 27aa94c
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,23 @@ jobs:
- name: Copy .env.test
run: php -r "file_exists('.env') || copy('.env.test', '.env');"

- name: Build and run docker
run: |
docker compose -f compose.yaml build
docker compose up
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker Images
uses: docker/bake-action@v4
with:
pull: true
load: true
files: |
compose.yaml
-
name: Start services
run: docker compose up --wait

- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

Expand Down

0 comments on commit 27aa94c

Please sign in to comment.